Skip to content

Commit

Permalink
Make automatically fixable standard issues fail CI
Browse files Browse the repository at this point in the history
While default autofix is handy, the configuration makes it so that auto-fixable issues don't trigger a CI failure
  • Loading branch information
albus522 committed Aug 8, 2024
1 parent 062500b commit 9ec6b63
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ jobs:
ruby-version: ${{matrix.ruby}}
bundler-cache: true

- name: Run standardrb
run: bundle exec standardrb --no-fix

- name: Run tests
timeout-minutes: 5
run: ${{matrix.env}} bundle exec rake
run: ${{matrix.env}} bundle exec rake test

0 comments on commit 9ec6b63

Please sign in to comment.