Run lint with binstubs
This commit is contained in:
+5
-3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user