Skip to content

Commit 633d992

Browse files
committed
Test Ruby 4.0 compatibility
1 parent fc39fe4 commit 633d992

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/tests.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ jobs:
1919
strategy:
2020
matrix:
2121
cfg:
22-
- {check: rubocop, os: ubuntu-latest, ruby: '3.3'}
23-
- {check: warnings, os: ubuntu-latest, ruby: '3.3'}
22+
- {check: rubocop, os: ubuntu-latest, ruby: '4.0'}
23+
- {check: warnings, os: ubuntu-latest, ruby: '4.0'}
2424

2525
runs-on: ${{ matrix.cfg.os }}
2626
steps:
@@ -45,11 +45,13 @@ jobs:
4545
- {os: ubuntu-24.04, ruby: '3.2'}
4646
- {os: ubuntu-24.04, ruby: '3.3'}
4747
- {os: ubuntu-24.04, ruby: '3.4'}
48+
- {os: ubuntu-24.04, ruby: '4.0'}
4849
- {os: ubuntu-24.04, ruby: 'jruby-9.4.8.0'}
4950
- {os: ubuntu-24.04, ruby: 'jruby-9.4.14.0'}
5051
- {os: windows-2025, ruby: '3.2'}
5152
- {os: windows-2025, ruby: '3.3'}
5253
- {os: windows-2025, ruby: '3.4'}
54+
- {os: windows-2025, ruby: '4.0'}
5355

5456
runs-on: ${{ matrix.cfg.os }}
5557
steps:
@@ -116,10 +118,10 @@ jobs:
116118
uses: actions/checkout@v6
117119
with:
118120
fetch-depth: 0
119-
- name: Install Ruby version 3.3
121+
- name: Install Ruby version 4.0
120122
uses: ruby/setup-ruby@v1
121123
with:
122-
ruby-version: 3.3
124+
ruby-version: 4.0
123125
bundler-cache: true
124126
- name: Validate code
125127
run: |

0 commit comments

Comments
 (0)