From 8bfe998877e1a4602205fb9722a69df91bfea4f7 Mon Sep 17 00:00:00 2001 From: Michael Cho Date: Fri, 22 Mar 2024 12:07:08 -0400 Subject: [PATCH] workflows/tests: run tap_syntax on stable `brew` Signed-off-by: Michael Cho --- .github/workflows/tests.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 961efd79f3d26..3c708dbb12445 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -27,6 +27,10 @@ permissions: jobs: tap_syntax: if: github.repository_owner == 'Homebrew' + strategy: + matrix: + stable: [false, true] + name: tap_syntax${{ matrix.stable && ' (stable)' || '' }} runs-on: ubuntu-22.04 container: image: ghcr.io/homebrew/ubuntu22.04:master @@ -40,13 +44,14 @@ jobs: core: true cask: false test-bot: true + stable: ${{ matrix.stable }} - name: Cache style cache uses: actions/cache@v4 with: path: /home/linuxbrew/.cache/Homebrew/style - key: style-cache-${{ github.sha }} - restore-keys: style-cache- + key: style-cache-${{ matrix.stable && 'stable-' || '' }}${{ github.sha }} + restore-keys: style-cache-${{ matrix.stable && 'stable-' || '' }} - run: brew test-bot --only-tap-syntax