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 066cc01 commit a4a8347
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,21 @@ on:
push:

jobs:
rubocop:
runs-on: ubuntu-latest
env:
BUNDLE_RUBYGEMS__PKG__GITHUB__COM: gocardless-robot-readonly:${{ secrets.GITHUB_TOKEN }}
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 a4a8347

Please sign in to comment.