From 7dbef82ab182b89b26415f1530ae30420795b5c3 Mon Sep 17 00:00:00 2001 From: Michael Saad Date: Fri, 4 Dec 2026 14:42:40 +0100 Subject: [PATCH] Add Ruby 4.0 to the test matrix Review of the 3.8.0 release (Juan Araya, ADO PR !25414 thread 202094) asked for the minimum Ruby (3.0) and the current stable Ruby (4.0) to be tested. 3.0 to 3.4 were already in the matrix; add 4.0. Co-Authored-By: Claude Sonnet 5.5 --- .github/workflows/release.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6f767eb..1efba08 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,15 +19,16 @@ concurrency: cancel-in-progress: false jobs: - # The test suite on every Ruby the gem allows (required_ruby_version in the gemspec is >= 3.0). - # Keep this list in step with that constraint. The gem itself is built once, in the build job. + # The test suite from the oldest Ruby the gem allows (required_ruby_version in the gemspec is >= 3.0) + # up to the current stable release. Keep the lowest entry in step with that constraint and add each + # new Ruby release. The gem itself is built once, in the build job. test: name: Test (Ruby ${{ matrix.ruby }}) runs-on: ubuntu-latest strategy: fail-fast: false matrix: - ruby: ['3.0', '3.1', '3.2', '3.3', '3.4'] + ruby: ['3.0', '3.1', '3.2', '3.3', '3.4', '4.0'] steps: - name: Checkout repository uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0