Merge pull request #25 from koic/enable_rubocop_on_ci
Enable RuboCop on CI
This commit is contained in:
commit
a32b7d2499
1 changed files with 11 additions and 0 deletions
11
.github/workflows/ci.yml
vendored
11
.github/workflows/ci.yml
vendored
|
|
@ -22,3 +22,14 @@ jobs:
|
|||
run: bundle install
|
||||
- run: bundle exec rake test
|
||||
continue-on-error: ${{ matrix.entry.allowed-failure }}
|
||||
|
||||
rubocop:
|
||||
runs-on: ubuntu-latest
|
||||
name: RuboCop
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: ruby/setup-ruby@v1
|
||||
with:
|
||||
ruby-version: 3.2 # Specify the oldest supported Ruby version.
|
||||
bundler-cache: true
|
||||
- run: bundle exec rake rubocop
|
||||
|
|
|
|||
Loading…
Reference in a new issue