Skip to content

Commit

Permalink
Added rubocop to the GitHub Actions workflow (issue #18).
Browse files Browse the repository at this point in the history
  • Loading branch information
postmodern committed Sep 5, 2023
1 parent 4ae0f28 commit 1d1a829
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,17 @@ jobs:
run: bundle install --jobs 4 --retry 3
- name: Run tests
run: bundle exec rake test

# rubocop linting
rubocop:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.0
- name: Install dependencies
run: bundle install --jobs 4 --retry 3
- name: Run rubocop
run: bundle exec rubocop --parallel

0 comments on commit 1d1a829

Please sign in to comment.