Skip to content

Use engine-only ruby-version where only the latest release is needed - #313

Merged
yahonda merged 1 commit into
rsim:masterfrom
yahonda:use-engine-only-ruby-version
Sep 10, 2026
Merged

Use engine-only ruby-version where only the latest release is needed#313
yahonda merged 1 commit into
rsim:masterfrom
yahonda:use-engine-only-ruby-version

Conversation

@yahonda

@yahonda yahonda commented Sep 9, 2026

Copy link
Copy Markdown
Collaborator

ruby/setup-ruby resolves an engine-only ruby-version such as ruby or jruby to the latest stable release of that engine (Supported Version Syntax), the form truffleruby.yml already uses. This pull request switches the jobs that only need one Ruby to that form, so new CRuby and JRuby releases are picked up without a bump pull request such as #311.

  • CRuby 4.0 to ruby: RuboCop, release (build-cruby and release jobs)
  • JRuby jruby-10.1.1.0 to jruby: release (build-jruby) and the JRuby rows of test, test_11g, test_11g_ojdbc11
  • README: the CI version list now says the latest stable JRuby release instead of 10.1.1.0

Unchanged on purpose: the multi-version CRuby matrices (4.0, 3.4, 3.3) in test and test_11g, the per-gemfile minimum versions in test_gemfiles.yml, and the ruby_head / jruby_head jobs. The startsWith(matrix.ruby, 'jruby') conditions keep matching jruby.

ruby/setup-ruby resolves an engine-only value such as `ruby` or `jruby`
to the latest stable release of that engine. The jobs that need a single
CRuby (RuboCop, release) and the JRuby rows of the test matrices were
pinned to `4.0` or `jruby-10.1.1.0`, so every new CRuby or JRuby release
required a manual bump. Writing `ruby` and `jruby` instead lets
setup-ruby pick the current release, the same form truffleruby.yml
already uses. The README's CI version list now says the latest stable
JRuby release instead of 10.1.1.0.

The multi-version CRuby matrices, test_gemfiles.yml, and the head/debug
jobs name specific releases on purpose and are unchanged.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@yahonda
yahonda force-pushed the use-engine-only-ruby-version branch from e77a3e4 to 420deb2 Compare September 9, 2026 08:14
@yahonda
yahonda merged commit 630eef6 into rsim:master Sep 10, 2026
29 of 30 checks passed
@yahonda
yahonda deleted the use-engine-only-ruby-version branch September 10, 2026 12:52
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