Merge pull request #11236 from MikeMcQuaid/tests_more_needs_syntax

github/workflows/tests: add more `needs: syntax`
This commit is contained in:
Mike McQuaid 2021-04-26 15:41:07 +01:00 committed by GitHub
commit 7135cc088d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -40,6 +40,7 @@ jobs:
tap-syntax: tap-syntax:
name: tap syntax (Linux) name: tap syntax (Linux)
needs: syntax
if: startsWith(github.repository, 'Homebrew/') if: startsWith(github.repository, 'Homebrew/')
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
@ -157,6 +158,7 @@ jobs:
run: git diff --stat --exit-code Library/Homebrew/vendor/bundle/ruby run: git diff --stat --exit-code Library/Homebrew/vendor/bundle/ruby
docker: docker:
needs: syntax
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Set up Homebrew - name: Set up Homebrew
@ -180,6 +182,7 @@ jobs:
tests: tests:
name: ${{ matrix.name }} name: ${{ matrix.name }}
needs: syntax
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix: