Skip to content

Commit

Permalink
Add github pdk workflow and badges
Browse files Browse the repository at this point in the history
  • Loading branch information
okopop committed Oct 20, 2024
1 parent 065036e commit 50a6870
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/pdk.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: pdk
on:
- push
- pull_request
jobs:
tests:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2

- name: validate puppet 7
uses: okopop/pdk@pdk-3.3.0
with:
action: 'validate --puppet-version=7'

- name: unit test puppet 7
uses: okopop/pdk@pdk-3.3.0
with:
action: 'test unit --puppet-version=7'

- name: validate puppet 8
uses: okopop/pdk@pdk-3.3.0
with:
action: 'validate --puppet-version=8'

- name: unit test puppet 8
uses: okopop/pdk@pdk-3.3.0
with:
action: 'test unit --puppet-version=8'
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.1.1]

### Added
- Forge and build badges in README.md
- Github action that runs pdk validate and test unit (pdk 3.3.0)

## [1.1.0]

### Added
Expand Down

0 comments on commit 50a6870

Please sign in to comment.