@@ -46,14 +46,11 @@ jobs:
4646 with :
4747 toolchain : ${{ matrix.rust }}
4848 - uses : Swatinem/rust-cache@v2
49+ - uses : taiki-e/install-action@cargo-hack
4950 - name : Build
50- run : cargo test --no-run --workspace --all-features
51- - name : Default features
52- run : cargo test --workspace
53- - name : All features
54- run : cargo test --workspace --all-features
55- - name : No-default features
56- run : cargo test --workspace --no-default-features
51+ run : cargo test --workspace --no-run
52+ - name : Test
53+ run : cargo hack test --each-feature --workspace
5754 msrv :
5855 name : " Check MSRV"
5956 runs-on : ubuntu-latest
6764 - uses : Swatinem/rust-cache@v2
6865 - uses : taiki-e/install-action@cargo-hack
6966 - name : Default features
70- run : cargo hack check --locked --rust-version --ignore-private --workspace --all-targets
71- - name : All features
72- run : cargo hack check --all-features --locked --rust-version --ignore-private --workspace --all-targets
73- - name : No-default features
74- run : cargo hack check --no-default-features --locked --rust-version --ignore-private --workspace --all-targets
67+ run : cargo hack check --each-feature --locked --rust-version --ignore-private --workspace --all-targets --keep-going
7568 minimal-versions :
7669 name : Minimal versions
7770 runs-on : ubuntu-latest
8982 - name : Downgrade dependencies to minimal versions
9083 run : cargo +nightly generate-lockfile -Z minimal-versions
9184 - name : Compile with minimal versions
92- run : cargo +stable check --workspace --all-features --locked
85+ run : cargo +stable check --workspace --all-features --locked --keep-going
9386 lockfile :
9487 runs-on : ubuntu-latest
9588 steps :
@@ -116,7 +109,7 @@ jobs:
116109 - name : Check documentation
117110 env :
118111 RUSTDOCFLAGS : -D warnings
119- run : cargo doc --workspace --all-features --no-deps --document-private-items
112+ run : cargo doc --workspace --all-features --no-deps --document-private-items --keep-going
120113 rustfmt :
121114 name : rustfmt
122115 runs-on : ubuntu-latest
@@ -162,7 +155,7 @@ jobs:
162155 sarif_file : clippy-results.sarif
163156 wait-for-processing : true
164157 - name : Report status
165- run : cargo clippy --workspace --all-features --all-targets -- -D warnings --allow deprecated
158+ run : cargo clippy --workspace --all-features --all-targets --keep-going -- -D warnings --allow deprecated
166159 coverage :
167160 name : Coverage
168161 runs-on : ubuntu-latest
0 commit comments