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 }}