Skip to content

Commit

Permalink
workflows/tests: run tap_syntax on stable brew
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Cho <[email protected]>
  • Loading branch information
cho-m committed Mar 22, 2024
1 parent 61df6b3 commit c46fa06
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/tests.yml
Expand Up @@ -27,6 +27,10 @@ permissions:
jobs:
tap_syntax:
if: github.repository_owner == 'Homebrew'
strategy:
matrix:
stable: [false, true]
name: ${{ matrix.stable && 'tap_syntax (stable)' || 'tap_syntax' }}
runs-on: ubuntu-22.04
container:
image: ghcr.io/homebrew/ubuntu22.04:master
Expand All @@ -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

Expand Down

0 comments on commit c46fa06

Please sign in to comment.