Skip to content

Commit

Permalink
Test all files with Rubocop, not just added code in the diff
Browse files Browse the repository at this point in the history
  • Loading branch information
mkllnk committed Apr 16, 2024
1 parent b624965 commit eb791be
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/linters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand All @@ -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
Expand Down

0 comments on commit eb791be

Please sign in to comment.