Skip to content

Commit 8b544b1

Browse files
committed
Run rubocop checks in matrix build
Run `bundle exec rake rubocop`. This requires we install voxpupuli-test to get the rubocop dependencies.
1 parent 48044bb commit 8b544b1

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

moduleroot/.github/workflows/ci.yml.erb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
puppet_major_versions: ${{ steps.get-outputs.outputs.puppet_major_versions }}
1212
puppet_unit_test_matrix: ${{ steps.get-outputs.outputs.puppet_unit_test_matrix }}
1313
env:
14-
BUNDLE_WITHOUT: development:test:release
14+
BUNDLE_WITHOUT: development:release
1515
steps:
1616
- uses: actions/checkout@v2
1717
- name: Setup ruby
@@ -21,6 +21,8 @@ jobs:
2121
bundler-cache: true
2222
- name: Run rake validate
2323
run: bundle exec rake validate
24+
- name: Run rake rubocop
25+
run: bundle exec rake rubocop
2426
- name: Setup Test Matrix
2527
id: get-outputs
2628
run: bundle exec metadata2gha --use-fqdn --pidfile-workaround <%= @configs['pidfile_workaround'] %>

0 commit comments

Comments
 (0)