From 3d7aaedd552d66b42e45620ca9d1d382c0401364 Mon Sep 17 00:00:00 2001 From: Shizuo Fujita Date: Fri, 5 Dec 2025 16:49:52 +0900 Subject: [PATCH 1/2] CI: add Ruby 3.4 and 4.0.0 preview2 Signed-off-by: Shizuo Fujita --- .github/workflows/test.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a178b1e089..b5b9cd0d56 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -26,7 +26,11 @@ jobs: fail-fast: false matrix: os: ['ubuntu-latest', 'macos-latest', 'windows-latest'] - ruby-version: ['3.3', '3.2', '3.1', '3.0', '2.7'] + ruby-version: ['4.0.0-preview2', '3.4', '3.3', '3.2', '3.1', '3.0', '2.7'] + exclude: + # 4.0.0-preview2 is not provided for Windows. + - os: windows-latest + ruby-version: '4.0.0-preview2' name: Ruby ${{ matrix.ruby-version }} on ${{ matrix.os }} steps: - uses: actions/checkout@v5 @@ -48,7 +52,7 @@ jobs: strategy: fail-fast: false matrix: - ruby-version: ['3.3', '3.2', '3.1', '3.0', '2.7'] + ruby-version: ['3.4', '3.3', '3.2', '3.1', '3.0', '2.7'] name: Windows service (Ruby ${{ matrix.ruby-version }}) steps: - uses: actions/checkout@v5 From 14c09e566f1b8d210e22798ddd696356de6f1506 Mon Sep 17 00:00:00 2001 From: Shizuo Fujita Date: Tue, 9 Dec 2025 13:45:53 +0900 Subject: [PATCH 2/2] CI: drop Ruby 4.0 Signed-off-by: Shizuo Fujita --- .github/workflows/test.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b5b9cd0d56..69e4779ab5 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -26,11 +26,7 @@ jobs: fail-fast: false matrix: os: ['ubuntu-latest', 'macos-latest', 'windows-latest'] - ruby-version: ['4.0.0-preview2', '3.4', '3.3', '3.2', '3.1', '3.0', '2.7'] - exclude: - # 4.0.0-preview2 is not provided for Windows. - - os: windows-latest - ruby-version: '4.0.0-preview2' + ruby-version: ['3.4', '3.3', '3.2', '3.1', '3.0', '2.7'] name: Ruby ${{ matrix.ruby-version }} on ${{ matrix.os }} steps: - uses: actions/checkout@v5