Skip to content

CI: bump ruby/setup-ruby to v1.344.0 so it knows Ruby 4.0.10 - #5

Merged
ajaynomics merged 1 commit into
mainfrom
fix/setup-ruby-ubuntu-2604
Nov 25, 2026
Merged

ajaynomics merged 1 commit into
mainfrom
fix/setup-ruby-ubuntu-2604

Conversation

@ajaynomics

Copy link
Copy Markdown
Owner

CI on main (2fe67ac) fails in Set up Ruby: run 45453764815:

Error: Unknown version 4.0.10 for ruby on ubuntu-26.04

Cause. .ruby-version is ruby-4.0.10, but the pinned ruby/setup-ruby v1.338.0 predates Ruby 4.0.10. The action learned 4.0.10 in v1.342.0 (ruby/setup-ruby#980). The runner image is not the problem: v1.338.0 already supports ubuntu-26.04, and ruby-builder publishes ruby-4.0.10-ubuntu-26.04-x64. Pinning ubuntu-24.04 would not help, since the action rejects the version on every image.

Fix. Bump the pin to v1.344.0 (78c62f2, the current v1), still pinned to a full commit SHA. One line in .github/workflows/ci.yml; nothing else changes.

Dependabot PR #3 makes the same bump to v1.343.0 but is based on an older main.

v1.338.0 predates Ruby 4.0.10 (added in v1.342.0), so Set up Ruby
failed with 'Unknown version 4.0.10 for ruby on ubuntu-26.04'
(run 45453764815 on 2fe67ac).
@ajaynomics
ajaynomics merged commit 69feb29 into main Nov 25, 2026
1 check passed
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