Repository navigation
Bump Ruby to 4.0.10 - #45
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
🟢 Approved
No active review issues are reported for the Ruby upgrade and accompanying CI and release tooling changes.
No open issues 🎉
What changed in this PR
Updates the repository’s default Ruby version and aligns CI and release tooling with the upgrade.
Changes:
- Bumps
.ruby-versionfrom Ruby 3.4.12 to 4.0.10. - Updates all
ruby/setup-rubysteps to v1.342.0 to support the new Ruby version. - Configures test, lint, and release jobs to install the latest Bundler, while retaining the existing Ruby test matrix.
| File | Description |
|---|---|
.ruby-version |
Sets Ruby 4.0.10 as the repository default. |
.github/workflows/release.yml |
Updates the Ruby setup action and selects the latest Bundler for releases. |
.github/workflows/ci.yml |
Updates the Ruby setup action and selects the latest Bundler for tests and linting. |
Review effort: Balanced
setup-ruby only learned about 4.0.10 in v1.342.0, so bump the pinned action alongside .ruby-version. This also moves the Linters and Release jobs onto Bundler 4, since setup-ruby uses the Bundler that ships with the Ruby when there is no committed Gemfile.lock.
danarnold
force-pushed
the
ruby-4.0.10
branch
from
November 19, 2026 23:51
27ad04e to
7fc4be9
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
.ruby-versionfrom 3.4.12 to 4.0.10.ruby/setup-rubyfrom v1.338.0 to v1.342.0 in both workflows. v1.342.0 is the first release that can install 4.0.10 (ruby/setup-ruby#980), so the Linters and Release jobs would fail without it.Since
Gemfile.lockisn't committed, setup-ruby uses the Bundler that ships with each Ruby. That moves the Linters and Release jobs from Bundler 2.6 to Bundler 4.0.20. The 3.3 and 3.4 test jobs keep their stock Bundler 2.x.Testing
Ran locally on Ruby 4.0.10 and 3.4.12 with freshly resolved gems:
bundle exec rakeandbundle exec rubocopboth pass.