Skip to content

Commit

Permalink
Merge pull request #166913 from Homebrew/tests-stable-syntax
Browse files Browse the repository at this point in the history
workflows/tests: run tap_syntax on stable `brew`
  • Loading branch information
cho-m committed Mar 23, 2024
2 parents 273b164 + 8bfe998 commit 0f87427
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: tap_syntax${{ matrix.stable && ' (stable)' || '' }}
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 0f87427

Please sign in to comment.