From 2aa611a06254733a320988e013fdeb695ead93b5 Mon Sep 17 00:00:00 2001 From: "Yamashita, Yuu" Date: Fri, 30 Oct 2026 12:52:17 +0900 Subject: [PATCH 1/2] ci: run legacy Ruby tests on Ubuntu 24.04 --- .github/workflows/test.yml | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f06302af..1adebbf6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,7 +8,7 @@ permissions: jobs: test: - runs-on: ubuntu-latest + runs-on: ${{ matrix.os }} strategy: fail-fast: false matrix: @@ -27,8 +27,28 @@ jobs: # Rake replaces RUBYOPT for the test subprocess; keep it in Bundler's context. ruby-opt: ["-rbundler/setup"] include: + # Ruby 2.5 through 3.1 have no prebuilt binaries for Ubuntu 26.04. + - ruby-version: '2.5' + os: ubuntu-24.04 + - ruby-version: '2.6' + os: ubuntu-24.04 + - ruby-version: '2.7' + os: ubuntu-24.04 + - ruby-version: '3.0' + os: ubuntu-24.04 + - ruby-version: '3.1' + os: ubuntu-24.04 + - ruby-version: '3.2' + os: ubuntu-latest + - ruby-version: '3.3' + os: ubuntu-latest + - ruby-version: '3.4' + os: ubuntu-latest + - ruby-version: 'head' + os: ubuntu-latest - ruby-version: '3.4' ruby-opt: '-rbundler/setup --enable-frozen-string-literal --debug-frozen-string-literal' + os: ubuntu-latest steps: - uses: actions/checkout@v3 From 275af344ef6ea67fa716c5258e134cb712b4e792 Mon Sep 17 00:00:00 2001 From: "Yamashita, Yuu" Date: Fri, 30 Oct 2026 12:56:33 +0900 Subject: [PATCH 2/2] ci: add Ruby 4.0 to test matrix --- .github/workflows/test.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1adebbf6..7ec4ac9f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -22,6 +22,7 @@ jobs: '3.2', '3.3', '3.4', + '4.0', 'head' ] # Rake replaces RUBYOPT for the test subprocess; keep it in Bundler's context. @@ -44,6 +45,8 @@ jobs: os: ubuntu-latest - ruby-version: '3.4' os: ubuntu-latest + - ruby-version: '4.0' + os: ubuntu-latest - ruby-version: 'head' os: ubuntu-latest - ruby-version: '3.4'