3838 rust : ["stable"]
3939 continue-on-error : ${{ matrix.rust != 'stable' }}
4040 runs-on : ${{ matrix.os }}
41+ env :
42+ # Reduce amount of data cached
43+ CARGO_PROFILE_DEV_DEBUG : line-tables-only
4144 steps :
4245 - name : Checkout repository
4346 uses : actions/checkout@v6
@@ -50,10 +53,13 @@ jobs:
5053 - name : Build
5154 run : cargo test --workspace --no-run
5255 - name : Test
53- run : cargo hack test --feature-powerset --workspace
56+ run : cargo hack test --each-feature --workspace
5457 msrv :
5558 name : " Check MSRV"
56- runs-on : ubuntu-latest
59+ strategy :
60+ matrix :
61+ os : ["ubuntu-latest"]
62+ runs-on : ${{ matrix.os }}
5763 steps :
5864 - name : Checkout repository
5965 uses : actions/checkout@v6
@@ -64,10 +70,13 @@ jobs:
6470 - uses : Swatinem/rust-cache@v2
6571 - uses : taiki-e/install-action@cargo-hack
6672 - name : Default features
67- run : cargo hack check --feature-powerset --locked --rust-version --ignore-private --workspace --all-targets
73+ run : cargo hack check --each-feature --locked --rust-version --ignore-private --workspace --all-targets --keep-going
6874 minimal-versions :
6975 name : Minimal versions
70- runs-on : ubuntu-latest
76+ strategy :
77+ matrix :
78+ os : ["ubuntu-latest"]
79+ runs-on : ${{ matrix.os }}
7180 steps :
7281 - name : Checkout repository
7382 uses : actions/checkout@v6
8291 - name : Downgrade dependencies to minimal versions
8392 run : cargo +nightly generate-lockfile -Z minimal-versions
8493 - name : Compile with minimal versions
85- run : cargo +stable check --workspace --all-features --locked
94+ run : cargo +stable check --workspace --all-features --locked --keep-going
8695 lockfile :
8796 runs-on : ubuntu-latest
8897 steps :
@@ -104,12 +113,12 @@ jobs:
104113 - name : Install Rust
105114 uses : dtolnay/rust-toolchain@stable
106115 with :
107- toolchain : " 1.83 " # STABLE
116+ toolchain : " 1.93 " # STABLE
108117 - uses : Swatinem/rust-cache@v2
109118 - name : Check documentation
110119 env :
111120 RUSTDOCFLAGS : -D warnings
112- run : cargo doc --workspace --all-features --no-deps --document-private-items
121+ run : cargo doc --workspace --all-features --no-deps --document-private-items --keep-going
113122 rustfmt :
114123 name : rustfmt
115124 runs-on : ubuntu-latest
@@ -119,11 +128,11 @@ jobs:
119128 - name : Install Rust
120129 uses : dtolnay/rust-toolchain@stable
121130 with :
122- toolchain : " 1.83 " # STABLE
131+ toolchain : " 1.93 " # STABLE
123132 components : rustfmt
124133 - uses : Swatinem/rust-cache@v2
125134 - name : Check formatting
126- run : cargo fmt --all -- -- check
135+ run : cargo fmt --check
127136 clippy :
128137 name : clippy
129138 runs-on : ubuntu-latest
@@ -135,7 +144,7 @@ jobs:
135144 - name : Install Rust
136145 uses : dtolnay/rust-toolchain@stable
137146 with :
138- toolchain : " 1.83 " # STABLE
147+ toolchain : " 1.93 " # STABLE
139148 components : clippy
140149 - uses : Swatinem/rust-cache@v2
141150 - name : Install SARIF tools
@@ -144,7 +153,7 @@ jobs:
144153 run : cargo install sarif-fmt --locked
145154 - name : Check
146155 run : >
147- cargo clippy --workspace --all-features --all-targets --message-format=json -- -D warnings --allow deprecated
156+ cargo clippy --workspace --all-features --all-targets --message-format=json
148157 | clippy-sarif
149158 | tee clippy-results.sarif
150159 | sarif-fmt
@@ -155,7 +164,7 @@ jobs:
155164 sarif_file : clippy-results.sarif
156165 wait-for-processing : true
157166 - name : Report status
158- run : cargo clippy --workspace --all-features --all-targets -- -D warnings --allow deprecated
167+ run : cargo clippy --workspace --all-features --all-targets --keep-going -- -D warnings --allow deprecated
159168 coverage :
160169 name : Coverage
161170 runs-on : ubuntu-latest
0 commit comments