Repository navigation
ci: pin Ruby jobs to ubuntu-24.04 - #176
Merged
Merged
Conversation
ubuntu-latest moved to ubuntu-26.04, where ruby/setup-ruby has no Ruby 3.2.0 (the version in .ruby-version), so lint and Publish Gem fail at Set up Ruby.
Contributor
There was a problem hiding this comment.
The change is minimal and matches the description. It pins runs-on to ubuntu-24.04 in the only two workflows that install Ruby (ci.yml lint job and publish-gem.yml). The other two workflows (release-doctor.yml, release-please.yml) don't use setup-ruby, so leaving them on ubuntu-latest is fine. This restores the runner image where Ruby 3.2.0 from .ruby-version is available.
One non-blocking note: these workflow files appear to be generated, so the pin could be overwritten by a later regeneration. It's worth fixing upstream or bumping .ruby-version eventually.
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 nowubuntu-26.04, whereruby/setup-rubyhas no Ruby 3.2.0 (.ruby-version). Since then,lintandPublish Gemfail at Set up Ruby (Unavailable version 3.2.0 for ruby on ubuntu-26.04), and v2.38.0 did not publish. This pins the two workflows that install Ruby (ci.yml,publish-gem.yml) toubuntu-24.04, where 3.2.0 worked.