Repository navigation
ci: run Ruby jobs on ubuntu-24.04 - #178
Merged
Merged
Conversation
ubuntu-latest moved to 26.04, and ruby/setup-ruby has no Ruby 3.2.0 build for it (ruby-builder ships 3.2.0 for 22.04 and 24.04 only), so lint, test, and Publish Gem all fail at setup with "runner detected as self-hosted". Pin runs-on to ubuntu-24.04 in ci.yml and publish-gem.yml. Moving off 26.04's gap for good means bumping .ruby-version, which is a separate change. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
ubuntu-latestis now Ubuntu 26.04.ruby/setup-rubyreports that runner as self-hosted, and there's no prebuilt Ruby 3.2.0 (our.ruby-version) for 26.04: ruby-builder ships 3.2.0 only for 22.04 and 24.04. Bumping setup-ruby (26.04 support landed in v1.314.0) wouldn't help, because 3.2.0 still has no 26.04 binary.Since today's 15:50Z merge, lint and test fail at setup on every run, and Publish Gem (
ubuntu-latestplus the same setup-ruby pin) would fail the same way. A release would tag a version that never reaches RubyGems.Change: pin
runs-ontoubuntu-24.04inci.yml(3 jobs) andpublish-gem.yml.ci:is hidden from release-please, so this doesn't alter the openrelease: 6.12.0PR's notes.Follow-up (not here): moving to a Ruby with 26.04 builds (e.g. 3.4.x) means changing
.ruby-version, which affects the SDK's tested Ruby.🤖 Generated with Claude Code