Skip to content

Commit a32b7d2

Browse files
authored
Merge pull request #25 from koic/enable_rubocop_on_ci
Enable RuboCop on CI
2 parents 8db094d + 3477406 commit a32b7d2

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,14 @@ jobs:
2222
run: bundle install
2323
- run: bundle exec rake test
2424
continue-on-error: ${{ matrix.entry.allowed-failure }}
25+
26+
rubocop:
27+
runs-on: ubuntu-latest
28+
name: RuboCop
29+
steps:
30+
- uses: actions/checkout@v3
31+
- uses: ruby/setup-ruby@v1
32+
with:
33+
ruby-version: 3.2 # Specify the oldest supported Ruby version.
34+
bundler-cache: true
35+
- run: bundle exec rake rubocop

0 commit comments

Comments
 (0)