From eb791bed27b815a10f7104384e1e24ff29dd0de7 Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Wed, 17 Apr 2024 09:32:40 +1000 Subject: [PATCH] Test all files with Rubocop, not just added code in the diff --- .github/workflows/linters.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/linters.yml b/.github/workflows/linters.yml index 31f95933d44..b1f9326fef2 100644 --- a/.github/workflows/linters.yml +++ b/.github/workflows/linters.yml @@ -7,10 +7,11 @@ jobs: name: runner / rubocop runs-on: ubuntu-latest steps: - - name: Check out code - uses: actions/checkout@v1 + - uses: actions/checkout@v3 - uses: ruby/setup-ruby@v1 + with: + bundler-cache: true # runs 'bundle install' and caches installed gems automatically - run: git show --no-patch # the commit being tested (which is often a merge due to actions/checkout@v3) @@ -21,6 +22,8 @@ jobs: rubocop_extensions: rubocop-rails:gemfile rubocop-rspec:gemfile reporter: github-pr-check level: error + filter_mode: nofilter + use_bundler: true fail_on_error: true prettier: name: runner / prettier