diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index df3f01e4770..942b9bb6998 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -10,11 +10,14 @@ on: jobs: cruby-test-system-libraries: runs-on: macos-latest + strategy: + matrix: + ruby: ["2.7", "3.0"] steps: - uses: actions/checkout@master - uses: actions/setup-ruby@v1 with: - ruby-version: '2.7' + ruby-version: ${{ matrix.ruby }} - uses: actions/cache@v2 with: path: vendor/bundle @@ -36,11 +39,14 @@ jobs: cruby-test-vendored-libraries: runs-on: macos-latest + strategy: + matrix: + ruby: ["2.7", "3.0"] steps: - uses: actions/checkout@master - uses: actions/setup-ruby@v1 with: - ruby-version: '2.7' + ruby-version: ${{ matrix.ruby }} - uses: actions/cache@v2 with: path: vendor/bundle