From 83deea214469dbc35a10cf751d9c2db36d14e0dd Mon Sep 17 00:00:00 2001 From: Benoit Daloze Date: Mon, 16 Nov 2026 22:38:09 +0100 Subject: [PATCH 1/2] Fix CI now that ubuntu-latest is ubuntu-26.04 ubuntu-26.04 only has builds of the latest patch release of each series, so use 3.4.12 and 3.1.7 instead of 3.4.0 and 3.1.0. Ruby 2.0 does not compile on ubuntu-26.04, so drop that test. Co-Authored-By: Claude Fable 5.1 --- .github/workflows/test.yml | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7821f2723..8e925109a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -141,27 +141,27 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v7 - - run: echo "ruby-3.4.0" > .ruby-version + - run: echo "ruby-3.4.12" > .ruby-version - uses: ./ - - run: ruby -v | grep -F "ruby 3.4.0" + - run: ruby -v | grep -F "ruby 3.4.12" testToolVersions: name: "Test .tool-versions" runs-on: ubuntu-latest steps: - uses: actions/checkout@v7 - - run: echo -e "nodejs 16.0.0\nruby 3.4.0" > .tool-versions + - run: echo -e "nodejs 16.0.0\nruby 3.4.12" > .tool-versions - uses: ./ - - run: ruby -v | grep -F "ruby 3.4.0" + - run: ruby -v | grep -F "ruby 3.4.12" testMise: name: "Test mise.toml" runs-on: ubuntu-latest steps: - uses: actions/checkout@v7 - - run: echo -e "[tools]\nnode = '18'\nruby = '3.4.0'" > mise.toml + - run: echo -e "[tools]\nnode = '18'\nruby = '3.4.12'" > mise.toml - uses: ./ - - run: ruby -v | grep -F "ruby 3.4.0" + - run: ruby -v | grep -F "ruby 3.4.12" testNoGemfile: name: "Test with no Gemfile" @@ -199,7 +199,6 @@ jobs: - { ruby: '2.6', expected_rubygems_version: '3.4.22' } - { ruby: '2.5', expected_rubygems_version: '3.3.27' } - { ruby: '2.3', expected_rubygems_version: '3.3.27' } - - { ruby: '2.0', expected_rubygems_version: '2.7.11' } steps: - uses: actions/checkout@v7 - uses: ./ @@ -226,9 +225,9 @@ jobs: - uses: actions/checkout@v7 - uses: ./ with: - ruby-version: '3.1.0' + ruby-version: '3.1.7' rubygems: 3.2.3 - - run: gem --version | grep -F "3.3.3" + - run: gem --version | grep -F "3.3.27" testFixedRubygemsBetaVersionUpgrades: name: "Test rubygems: beta version upgrades RubyGems to that version if the default is older" @@ -259,7 +258,7 @@ jobs: - uses: actions/checkout@v7 - uses: ./ with: - ruby-version: '3.1.0' + ruby-version: '3.1.7' rubygems: 3.4.0 - run: gem --version | grep -F "3.4.0" - run: bundle --version | grep -F "2.4.0" From 2b1bc5a63ff09a01ab58f6111d10d5703081b3b7 Mon Sep 17 00:00:00 2001 From: Benoit Daloze Date: Mon, 16 Nov 2026 22:38:09 +0100 Subject: [PATCH 2/2] Fix README: CRuby 2.3+ is available on ubuntu-26.04 Co-Authored-By: Claude Fable 5.1 --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1c8c319df..9272352bb 100644 --- a/README.md +++ b/README.md @@ -57,8 +57,8 @@ The full list of available Ruby versions can be seen in [here for Ubuntu and mac and in [windows-versions.json](windows-versions.json) for Windows. Newer runner images only have builds of the latest patch release of each series, so prefer a short version like `'3.4'` over an exact one like `'3.4.2'`, or pin to a specific runner version (e.g. `ubuntu-24.04`). -For example, `ubuntu-26.04` (which `ubuntu-latest` moves to, see [this announcement](https://github.com/actions/runner-images/issues/14748)) -only has builds of CRuby 3.2 and newer, as older CRuby versions do not compile on it. +For example, `ubuntu-26.04` (which `ubuntu-latest` now points to, see [this announcement](https://github.com/actions/runner-images/issues/14748)) +only has builds of CRuby 2.3 and newer, as older CRuby versions do not compile on it. The prebuilt releases are generated by [ruby-builder](https://github.com/ruby/ruby-builder) and on Windows by [RubyInstaller2](https://github.com/oneclick/rubyinstaller2).