https://github.com/mysociety/action-pdk
Use The Puppet Development Kit in GitHub Actions
https://github.com/mysociety/action-pdk
actions pdk puppet
Last synced: 12 days ago
JSON representation
Use The Puppet Development Kit in GitHub Actions
- Host: GitHub
- URL: https://github.com/mysociety/action-pdk
- Owner: mysociety
- License: mit
- Created: 2021-01-27T14:48:26.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-01-27T15:06:21.000Z (over 4 years ago)
- Last Synced: 2025-05-09T12:35:44.350Z (about 2 months ago)
- Topics: actions, pdk, puppet
- Language: Dockerfile
- Homepage: https://www.mysociety.org/
- Size: 1.95 KB
- Stars: 1
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Simple GitHub Action using the Puppet Development Kit
This is a very simple GitHub action that allows you to run tests using
the [Puppet Development Kit](https://puppet.com/docs/pdk/). It uses the
official [Puppet PDK docker image](https://hub.docker.com/r/puppet/pdk)
as its basis.## Usage
Currently this takes a single argument, `action`, that is just passed
to the invocation of `pdk` directly.```
name: Run PDK testson:
- push
- pull_requestjobs:
tests:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2- name: Validate
uses: mysociety/action-pdk@master
with:
action: 'validate'- name: Run Unit Tests
uses: mysociety/action-pdk@master
with:
action: 'test unit'
```