Skip to content

Commit 3f4400f

Browse files
committed
Add Ruby 4.0 to CI
Ruby 4.0.0 has been released, so this PR adds Ruby 4.0 to CI. https://www.ruby-lang.org/en/news/2025/12/25/ruby-4-0-0-released/ To prevent the CI label from showing "CI / Test Ruby 4" instead of "CI / Test Ruby 4.0", the matrix entries are changed from floats to strings.
1 parent 771163c commit 3f4400f

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,11 @@ jobs:
77
strategy:
88
matrix:
99
entry:
10-
- { ruby: 3.2, allowed-failure: false }
11-
- { ruby: 3.3, allowed-failure: false }
12-
- { ruby: 3.4, allowed-failure: false }
13-
- { ruby: head, allowed-failure: true }
10+
- { ruby: '3.2', allowed-failure: false }
11+
- { ruby: '3.3', allowed-failure: false }
12+
- { ruby: '3.4', allowed-failure: false }
13+
- { ruby: '4.0', allowed-failure: false }
14+
- { ruby: 'head', allowed-failure: true }
1415
name: Test Ruby ${{ matrix.entry.ruby }}
1516
steps:
1617
- uses: actions/checkout@v6

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
uses: ruby/setup-ruby@v1
2222
with:
2323
bundler-cache: true
24-
ruby-version: 3.4
24+
ruby-version: 4.0
2525
- uses: rubygems/release-gem@v1
2626

2727
publish_gh_pages:

0 commit comments

Comments
 (0)