From 8404e0f3297ad35576b7a65d6a69d6f65e7669ca Mon Sep 17 00:00:00 2001 From: Andrew Konchin Date: Tue, 23 Jul 2024 16:11:02 +0300 Subject: [PATCH] Fix GitHub Actions and run tests agains Ruby 2.5 on macos-amd64 instead --- .github/workflows/test.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 819a886..65f0dea 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,6 +16,12 @@ jobs: matrix: ruby: ${{ fromJson(needs.ruby-versions.outputs.versions) }} os: [ ubuntu-latest, macos-latest ] + + # CRuby < 2.6 does not support macos-arm64, so test those on amd64 instead + exclude: + - { os: macos-latest, ruby: '2.5' } + include: + - { os: macos-13, ruby: '2.5' } runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4