CI: make a single final job that depends on all others (#1291)

This commit is contained in:
Sean McArthur
2021-06-23 11:24:18 -07:00
committed by GitHub
parent eee19c5f3c
commit b9cf2db697

View File

@@ -11,6 +11,20 @@ env:
RUST_BACKTRACE: 1
jobs:
ci-pass:
name: CI is green
runs-on: ubuntu-latest
needs:
- style
- test
- nightly
- minversion
- android
- wasm
- docs
steps:
- run: exit 0
style:
name: Check Style
@@ -38,7 +52,7 @@ jobs:
# Workaround for rust-lang/cargo#7732
run: cargo fmt -- --check $(find . -name '*.rs' -print)
build:
test:
name: ${{ matrix.name }}
needs: [style]