Run lint with binstubs

This commit is contained in:
Jamie McCarthy
2024-06-08 12:19:48 -04:00
parent 5a11e5968c
commit 0321f5f585
+5 -3
View File
@@ -49,10 +49,12 @@ jobs:
uses: ruby/setup-ruby@78c01b705fd9d5ad960d432d3a0cfa341d50e410 # v1.179.1
with:
bundler-cache: true
- name: Generate binstubs
run: bundle binstubs bundler-audit brakeman rubocop
# Add or replace any other lints here
- name: Security audit dependencies
run: bundle exec bundle-audit --update
run: bin/bundler-audit --update
- name: Security audit application code
run: bundle exec brakeman -q -w2
run: bin/brakeman -q -w2
- name: Lint Ruby files
run: bundle exec rubocop --parallel
run: bin/rubocop --parallel