Repository navigation
CI: Drop old Ruby versions for Ubuntu 26.04 - #477
Merged
Merged
Conversation
ubuntu-latest moves to ubuntu-26.04 between 2026-10-19 and 2026-11-19. setup-ruby has no CRuby builds older than 3.2 for ubuntu-26.04, because they do not compile there. The jobs fail in setup-ruby with "Unavailable version 2.7.8 for ruby on ubuntu-26.04". With fail-fast, a failure in the 2.7 or 3.1 job also cancels the rest of the matrix. Exclude those three versions on Ubuntu only. They keep running on macOS and Windows, so the gemspec floor of 2.7 is still tested. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ohler55
approved these changes
Oct 29, 2026
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-latestmoves to Ubuntu 26.04 between 2026-10-19 and 2026-11-19 (announcement). setup-ruby only has CRuby 3.2 and newer for that image (README), so the Ruby 2.7, 3.0 and 3.1 jobs on Ubuntu fail in setup-ruby, and fail-fast then cancels the rest of the matrix.This excludes those three versions on Ubuntu only. They keep running on macOS and Windows, so Ruby 2.7 is still tested.
What the failure looks like
From another project's CI that has already moved to the new image (fluent/fluent-plugin-kafka#589):
The 3.2 and newer jobs in the same run passed on
ubuntu-26.04.🤖 Generated with Claude Code