Skip to content

Commit

Permalink
* Use ruby-head not 3.4 rc which is unavailble on windows-latest
Browse files Browse the repository at this point in the history
  • Loading branch information
PikachuEXE committed Dec 20, 2024
1 parent 7eb8e47 commit 81256a2
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,11 @@ jobs:
- '3.1'
- '3.2'
- '3.3'
# Note: 3.4+ is not yet supported by google-protobuf
- '3.4.0-rc1'
os: ['ubuntu-latest', 'windows-latest']
# When 3.4 is released, replace `ruby-head` with `3.4`, `3.4.0-rc1` can't be used on `windows-latest`
- 'ruby-head'
os:
- 'ubuntu-latest'
- 'windows-latest'
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
Expand All @@ -28,4 +30,4 @@ jobs:
run: bundle exec rake test
- name: RuboCop
run: bundle exec rake lint
if: matrix.ruby != '3.1' && matrix.ruby != '3.2' && matrix.ruby != '3.3' && matrix.ruby != '3.4.0-rc1'
if: matrix.ruby != '3.1' && matrix.ruby != '3.2' && matrix.ruby != '3.3' && matrix.ruby != 'ruby-head'

0 comments on commit 81256a2

Please sign in to comment.