Skip to content

ci: pin Ruby jobs to ubuntu-24.04 - #176

Merged
aagarwal1012 merged 1 commit into
mainfrom
ci/pin-ubuntu-24.04
Nov 10, 2026
Merged

aagarwal1012 merged 1 commit into
mainfrom
ci/pin-ubuntu-24.04

Conversation

@aagarwal1012

Copy link
Copy Markdown
Member

ubuntu-latest is now ubuntu-26.04, where ruby/setup-ruby has no Ruby 3.2.0 (.ruby-version). Since then, lint and Publish Gem fail 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) to ubuntu-24.04, where 3.2.0 worked.

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.

@dodo-squirrels dodo-squirrels Bot 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.

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.

@aagarwal1012
aagarwal1012 merged commit c4ea7fb into main Nov 10, 2026
6 checks passed
@aagarwal1012
aagarwal1012 deleted the ci/pin-ubuntu-24.04 branch November 10, 2026 07:41
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.

1 participant