Skip to content

Pin CI runner to ubuntu-24.04 - #945

Merged
rafaelfranca merged 1 commit into
rails:mainfrom
xjunior:pin-ubuntu-24-04-runner
Nov 23, 2026
Merged

rafaelfranca merged 1 commit into
rails:mainfrom
xjunior:pin-ubuntu-24-04-runner

Conversation

@xjunior

@xjunior xjunior commented Oct 20, 2026

Copy link
Copy Markdown
Contributor

ubuntu-latest now resolves to Ubuntu 26.04, and ruby/setup-ruby has no prebuilt Rubies older than 3.2 for that image:

Error: Unavailable version 2.6.10 for ruby on ubuntu-26.04
  ruby-2.6.10 is the latest 2.6.x release.
  Use a newer ruby version on ubuntu-26.04, or an older runner image for ruby 2.6.

So the test jobs for Ruby 2.6, 2.7, 3.0 and 3.1 fail during setup, and so does the lint job, which runs on 3.1 (seen on #733). This pins both workflows to ubuntu-24.04, which still has those Rubies. release.yml uses Ruby 3.4.4, so it stays on ubuntu-latest.

🤖 Generated with Claude Code

ubuntu-latest now resolves to ubuntu-26.04, which has no prebuilt
Rubies older than 3.2, so ruby/setup-ruby fails for 2.6-3.1 and the
linter job (which runs on 3.1).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@xjunior

xjunior commented Nov 5, 2026

Copy link
Copy Markdown
Contributor Author

@rafaelfranca I think this is what is missing to get CI passing again for the other PRs

@rafaelfranca
rafaelfranca merged commit f75c9ca into rails:main Nov 23, 2026
10 checks 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.

2 participants