From 0321f5f585a59bc25d0a7885165edf7f63b2d2f2 Mon Sep 17 00:00:00 2001 From: Jamie McCarthy Date: Sat, 8 Jun 2024 12:19:48 -0400 Subject: [PATCH] Run lint with binstubs --- ci/rubyonrails.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/ci/rubyonrails.yml b/ci/rubyonrails.yml index f3177e2..ad3ac88 100644 --- a/ci/rubyonrails.yml +++ b/ci/rubyonrails.yml @@ -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