Skip to content

Bump Ruby to 4.0.10 - #45

Merged
danarnold merged 1 commit into
masterfrom
ruby-4.0.10
Nov 19, 2026
Merged

danarnold merged 1 commit into
masterfrom
ruby-4.0.10

Conversation

@danarnold

@danarnold danarnold commented Nov 19, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Bump .ruby-version from 3.4.12 to 4.0.10.
  • Bump ruby/setup-ruby from 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.lock isn'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 rake and bundle exec rubocop both pass.

Copilot AI balanced review requested due to automatic review settings November 19, 2026 23:38
Copilot AI previously approved these changes Nov 19, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 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-version from Ruby 3.4.12 to 4.0.10.
  • Updates all ruby/setup-ruby steps 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

@danarnold danarnold changed the title Bump Ruby to 4.0.10 and use the latest Bundler Bump Ruby to 4.0.10 Nov 19, 2026
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.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approved

No active review issues are reported for the Ruby runtime and workflow updates.

No open issues 🎉

Review effort: Balanced

@danarnold
danarnold merged commit 4fbfdcd into master Nov 19, 2026
5 checks passed
@danarnold
danarnold deleted the ruby-4.0.10 branch November 19, 2026 23:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants