Skip to content

Commit

Permalink
ci: test with more newer ruby (#128)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
kenhys authored Jan 9, 2025
1 parent bf2a1f6 commit 0dff253
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,21 @@ jobs:
fail-fast: false
matrix:
ruby:
- 2.5
- 2.6
- 2.7
- 3.0
- '3.0'
- 3.1
- 3.2
- 3.3
- 3.4
os:
- ubuntu-latest
name: Ruby ${{ matrix.ruby }} unit testing on ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
rubygems: latest
- name: unit testing
env:
CI: true
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,16 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby: [ '2.5', '2.6', '2.7', '3.0' ]
ruby: [ '2.7', '3.0', '3.1', '3.2', '3.3', '3.4' ]
os:
- windows-latest
name: Ruby ${{ matrix.ruby }} unit testing on ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
rubygems: latest
- name: unit testing
env:
CI: true
Expand Down

0 comments on commit 0dff253

Please sign in to comment.