Merge pull request #11236 from MikeMcQuaid/tests_more_needs_syntax
github/workflows/tests: add more `needs: syntax`
This commit is contained in:
commit
7135cc088d
3
.github/workflows/tests.yml
vendored
3
.github/workflows/tests.yml
vendored
@ -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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user