Skip to content

Commit 37bb17f

Browse files
committed
Add Ruby 3.3 and run Rubocop on last Ruby version only
1 parent 3261b5a commit 37bb17f

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/main.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
strategy:
1010
matrix:
1111
os: [ubuntu]
12-
ruby-version: ["2.6", "2.7", "3.0", "3.1", "3.2"]
12+
ruby-version: ["2.6", "2.7", "3.0", "3.1", "3.2", "3.3"]
1313
steps:
1414
- uses: actions/checkout@v2
1515
- name: Setup Ruby ${{ matrix.ruby-version }}
@@ -22,3 +22,8 @@ jobs:
2222
gem install bundler -v 2.4.6
2323
bundle install --jobs 4 --retry 3
2424
bundle exec rake
25+
- name: Run RuboCop on latest Ruby
26+
if: matrix.ruby-version == '3.3'
27+
run: |
28+
gem install rubocop
29+
rubocop --parallel --config .rubocop.yml

0 commit comments

Comments
 (0)