https://github.com/puppets-epic-show-theatre/action-pdk-validate
https://github.com/puppets-epic-show-theatre/action-pdk-validate
github-actions pdk puppet puppet-modules
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/puppets-epic-show-theatre/action-pdk-validate
- Owner: puppets-epic-show-theatre
- License: gpl-3.0
- Created: 2020-10-26T09:24:08.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-09-20T15:52:35.000Z (over 1 year ago)
- Last Synced: 2024-03-15T07:21:56.873Z (about 1 year ago)
- Topics: github-actions, pdk, puppet, puppet-modules
- Language: Shell
- Homepage:
- Size: 16.6 KB
- Stars: 3
- Watchers: 5
- Forks: 10
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# action-pdk-validate
This action runs `pdk validate` on your puppet module codebase and fails the step if there are static validation failures.
## Usage
To use the action add the following step to your workflow file (e.g. `.github/workflows/pdk-validate.yml`)
```yaml
name: Run pdk static validationon:
- push
- pull_requestjobs:
build:
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v2- name: Run pdk validate
uses: puppets-epic-show-theatre/action-pdk-validate@v1
with:
puppet-version: ""
# [optional]
# A string indicating the Puppet version to validate against, such as "5.4.2" or "5.5".
pe-version: ""
# [optional]
# A string indicating the PE version to validate against, such as "2017.3.5" or "2018.1".
```