@@ -46,14 +46,11 @@ jobs:
46
46
with :
47
47
toolchain : ${{ matrix.rust }}
48
48
- uses : Swatinem/rust-cache@v2
49
+ - uses : taiki-e/install-action@cargo-hack
49
50
- 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
57
54
msrv :
58
55
name : " Check MSRV"
59
56
runs-on : ubuntu-latest
67
64
- uses : Swatinem/rust-cache@v2
68
65
- uses : taiki-e/install-action@cargo-hack
69
66
- 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
75
68
minimal-versions :
76
69
name : Minimal versions
77
70
runs-on : ubuntu-latest
89
82
- name : Downgrade dependencies to minimal versions
90
83
run : cargo +nightly generate-lockfile -Z minimal-versions
91
84
- 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
93
86
lockfile :
94
87
runs-on : ubuntu-latest
95
88
steps :
@@ -116,7 +109,7 @@ jobs:
116
109
- name : Check documentation
117
110
env :
118
111
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
120
113
rustfmt :
121
114
name : rustfmt
122
115
runs-on : ubuntu-latest
@@ -162,7 +155,7 @@ jobs:
162
155
sarif_file : clippy-results.sarif
163
156
wait-for-processing : true
164
157
- 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
166
159
coverage :
167
160
name : Coverage
168
161
runs-on : ubuntu-latest
0 commit comments