Skip to content

Commit bfd609b

Browse files
update: revert Ruby version to 3.0.0 in CI workflow and pin rubocop version
1 parent 6c34938 commit bfd609b

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/ruby.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,20 @@ jobs:
2525
runs-on: ubuntu-latest
2626
strategy:
2727
matrix:
28-
ruby: [ '3.0.1', '3.1.0', '3.2.0', '3.3.0' ]
28+
ruby: [ '3.0.0', '3.1.0', '3.2.0', '3.3.0' ]
2929
steps:
3030
- uses: actions/checkout@v3
3131
- name: Set up Ruby ${{ matrix.ruby }}
3232
uses: ruby/setup-ruby@v1
3333
with:
3434
ruby-version: ${{ matrix.ruby }}
3535
bundler-cache: true
36+
- name: Install rubocop 1.78.0 for Ruby 3.0.0
37+
if: matrix.ruby == '3.0.0'
38+
run: |
39+
echo "Installing rubocop 1.78.0 for Ruby 3.0.0"
40+
bundle add rubocop --version 1.78.0 || true
41+
bundle install
3642
- name: Run linting
3743
run: |
3844
bundle exec rubocop

0 commit comments

Comments
 (0)