From 4e587dcae2a3376c6146fb1132bf0ceafc7de695 Mon Sep 17 00:00:00 2001 From: Takuro Ashie Date: Fri, 19 Jun 2026 16:07:43 +0900 Subject: [PATCH] CI: Drop obsolete versions and head Run `head` monthly instead. Signed-off-by: Takuro Ashie --- .github/workflows/linux-test.yaml | 4 +++- .github/workflows/macos-test.yaml | 4 ++-- .github/workflows/windows-test.yaml | 4 ++-- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/linux-test.yaml b/.github/workflows/linux-test.yaml index fc95968..d1bf9ca 100644 --- a/.github/workflows/linux-test.yaml +++ b/.github/workflows/linux-test.yaml @@ -13,7 +13,7 @@ jobs: uses: ruby/actions/.github/workflows/ruby_versions.yml@master with: engine: cruby - min_version: 2.7 + min_version: 3.2 test: needs: ruby-versions runs-on: ${{ matrix.os }} @@ -22,6 +22,8 @@ jobs: fail-fast: false matrix: ruby: ${{ fromJson(needs.ruby-versions.outputs.versions) }} + exclude: + - ruby: ${{ github.event_name != 'schedule' && 'head' || '__none__' }} os: [ubuntu-latest] name: Ruby ${{ matrix.ruby }} on ${{ matrix.os }} diff --git a/.github/workflows/macos-test.yaml b/.github/workflows/macos-test.yaml index 90dd341..2f76224 100644 --- a/.github/workflows/macos-test.yaml +++ b/.github/workflows/macos-test.yaml @@ -13,7 +13,7 @@ jobs: uses: ruby/actions/.github/workflows/ruby_versions.yml@master with: engine: cruby - min_version: 2.7 + min_version: 3.2 test: needs: ruby-versions runs-on: ${{ matrix.os }} @@ -22,7 +22,7 @@ jobs: matrix: ruby: ${{ fromJson(needs.ruby-versions.outputs.versions) }} exclude: - - ruby: head + - ruby: ${{ github.event_name != 'schedule' && 'head' || '__none__' }} os: [macos-latest] name: Ruby ${{ matrix.ruby }} on ${{ matrix.os }} diff --git a/.github/workflows/windows-test.yaml b/.github/workflows/windows-test.yaml index c4a41fa..6084486 100644 --- a/.github/workflows/windows-test.yaml +++ b/.github/workflows/windows-test.yaml @@ -13,7 +13,7 @@ jobs: uses: ruby/actions/.github/workflows/ruby_versions.yml@master with: engine: cruby - min_version: 2.7 + min_version: 3.2 test: needs: ruby-versions runs-on: ${{ matrix.os }} @@ -22,7 +22,7 @@ jobs: matrix: ruby: ${{ fromJson(needs.ruby-versions.outputs.versions) }} exclude: - - ruby: head + - ruby: ${{ github.event_name != 'schedule' && 'head' || '__none__' }} os: - windows-latest name: Ruby ${{ matrix.ruby }} on ${{ matrix.os }}