Skip to content

Commit

Permalink
Add GitHub action to run rubocop.
Browse files Browse the repository at this point in the history
  • Loading branch information
benk-gc committed Jul 6, 2024
1 parent ee0e9e6 commit ea20702
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,19 @@ on:
push:

jobs:
rubocop:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
ruby-version: "3.0"
- name: Run rubocop
run: |
bundle exec rubocop --extra-details --display-style-guide --no-server --parallel
rspec:
strategy:
fail-fast: false
Expand Down

0 comments on commit ea20702

Please sign in to comment.