Skip to content

Commit

Permalink
Run rubocop checks in matrix build
Browse files Browse the repository at this point in the history
Run `bundle exec rake rubocop`.
This requires we install voxpupuli-test to get the rubocop
dependencies.
  • Loading branch information
traylenator committed Dec 8, 2020
1 parent 48044bb commit 8f10f9c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion moduleroot/.github/workflows/ci.yml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
puppet_major_versions: ${{ steps.get-outputs.outputs.puppet_major_versions }}
puppet_unit_test_matrix: ${{ steps.get-outputs.outputs.puppet_unit_test_matrix }}
env:
BUNDLE_WITHOUT: development:test:release
BUNDLE_WITHOUT: development:release
steps:
- uses: actions/checkout@v2
- name: Setup ruby
Expand All @@ -21,6 +21,8 @@ jobs:
bundler-cache: true
- name: Run rake validate
run: bundle exec rake validate
- name: Run rake rubocop
run: bundle exec rake rubocop
- name: Setup Test Matrix
id: get-outputs
run: bundle exec metadata2gha --use-fqdn --pidfile-workaround <%= @configs['pidfile_workaround'] %>
Expand Down

0 comments on commit 8f10f9c

Please sign in to comment.