Skip to content

Commit

Permalink
Include lint action
Browse files Browse the repository at this point in the history
  • Loading branch information
deric committed Nov 22, 2024
1 parent 6ee95a3 commit 6188103
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,27 @@ jobs:
BUNDLE_WITHOUT: release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install Ruby ${{ matrix.ruby }}
uses: ruby/setup-ruby@v1
with:
ruby-version: "3.1"
bundler-cache: true
- name: Run Rubocop
run: bundle exec rake rubocop
lint:
env:
BUNDLE_WITHOUT: release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Ruby ${{ matrix.ruby }}
uses: ruby/setup-ruby@v1
with:
ruby-version: "3.1"
bundler-cache: true
- name: Puppet Lint
run: bundle exec rake lint
test:
runs-on: ubuntu-latest
strategy:
Expand All @@ -41,7 +54,7 @@ jobs:
env:
PUPPET_VERSION: ${{ matrix.puppet }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install Ruby ${{ matrix.ruby }}
uses: ruby/setup-ruby@v1
with:
Expand All @@ -52,6 +65,7 @@ jobs:
tests:
needs:
- rubocop
- lint
- test
runs-on: ubuntu-latest
name: Test suite
Expand Down

0 comments on commit 6188103

Please sign in to comment.