Skip to content

Commit 0dff253

Browse files
authored
ci: test with more newer ruby (#128)
* use latest checkout action * drop obsolete ruby version * use latest rubygems for 2.7 * fix incorrect version, it should quote '3.0' because 3.0 was treated as 3. Signed-off-by: Kentaro Hayashi <[email protected]>
1 parent bf2a1f6 commit 0dff253

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

.github/workflows/linux.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,21 @@ jobs:
99
fail-fast: false
1010
matrix:
1111
ruby:
12-
- 2.5
13-
- 2.6
1412
- 2.7
15-
- 3.0
13+
- '3.0'
14+
- 3.1
15+
- 3.2
16+
- 3.3
17+
- 3.4
1618
os:
1719
- ubuntu-latest
1820
name: Ruby ${{ matrix.ruby }} unit testing on ${{ matrix.os }}
1921
steps:
20-
- uses: actions/checkout@v2
22+
- uses: actions/checkout@v4
2123
- uses: ruby/setup-ruby@v1
2224
with:
2325
ruby-version: ${{ matrix.ruby }}
26+
rubygems: latest
2427
- name: unit testing
2528
env:
2629
CI: true

.github/workflows/windows.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,16 @@ jobs:
88
strategy:
99
fail-fast: false
1010
matrix:
11-
ruby: [ '2.5', '2.6', '2.7', '3.0' ]
11+
ruby: [ '2.7', '3.0', '3.1', '3.2', '3.3', '3.4' ]
1212
os:
1313
- windows-latest
1414
name: Ruby ${{ matrix.ruby }} unit testing on ${{ matrix.os }}
1515
steps:
16-
- uses: actions/checkout@v2
16+
- uses: actions/checkout@v4
1717
- uses: ruby/setup-ruby@v1
1818
with:
1919
ruby-version: ${{ matrix.ruby }}
20+
rubygems: latest
2021
- name: unit testing
2122
env:
2223
CI: true

0 commit comments

Comments
 (0)