CI: make a single final job that depends on all others (#1291)
This commit is contained in:
16
.github/workflows/ci.yml
vendored
16
.github/workflows/ci.yml
vendored
@@ -11,6 +11,20 @@ env:
|
|||||||
RUST_BACKTRACE: 1
|
RUST_BACKTRACE: 1
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
ci-pass:
|
||||||
|
name: CI is green
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
needs:
|
||||||
|
- style
|
||||||
|
- test
|
||||||
|
- nightly
|
||||||
|
- minversion
|
||||||
|
- android
|
||||||
|
- wasm
|
||||||
|
- docs
|
||||||
|
steps:
|
||||||
|
- run: exit 0
|
||||||
|
|
||||||
style:
|
style:
|
||||||
name: Check Style
|
name: Check Style
|
||||||
|
|
||||||
@@ -38,7 +52,7 @@ jobs:
|
|||||||
# Workaround for rust-lang/cargo#7732
|
# Workaround for rust-lang/cargo#7732
|
||||||
run: cargo fmt -- --check $(find . -name '*.rs' -print)
|
run: cargo fmt -- --check $(find . -name '*.rs' -print)
|
||||||
|
|
||||||
build:
|
test:
|
||||||
name: ${{ matrix.name }}
|
name: ${{ matrix.name }}
|
||||||
needs: [style]
|
needs: [style]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user