From bd1da970b20978a1ef81fb39f933a6c2e8900b11 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Thu, 26 Nov 2026 16:31:35 +0900 Subject: [PATCH] Test mswin-head and mswin-4.0 instead of mswin setup-ruby will make plain mswin install the latest release, so pin master explicitly and add the 4.0 release build. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/test.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 98fa51bd..8b1b194e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -28,7 +28,9 @@ jobs: include: - ruby: mingw os: windows-latest - - ruby: mswin + - ruby: mswin-head + os: windows-2022 + - ruby: mswin-4.0 os: windows-2022 - ruby: truffleruby os: ubuntu-latest @@ -41,6 +43,6 @@ jobs: ruby-version: ${{ matrix.ruby }} bundler-cache: true # 'bundle install' and cache - run: choco install gperf - if: ${{ matrix.ruby == 'mswin' }} + if: ${{ startsWith(matrix.ruby, 'mswin') }} - name: Run test run: bundle exec rake compile test