@@ -52,15 +52,13 @@ jobs:
5252 - name : Format
5353 run : cargo fmt -- --check
5454 - name : Clippy
55- run : cargo clippy --workspace --all-features --all- targets -- -D warnings
55+ run : cargo clippy --workspace --all-targets -- -D warnings
5656 - name : Test
57- run : cargo nextest run --workspace --all-features --all- targets --no-fail-fast
57+ run : cargo nextest run --workspace --all-targets --no-fail-fast
5858 - name : Test docs
59- run : cargo test --workspace --all-features -- doc
59+ run : cargo test --workspace --doc
6060 - name : Check (without default features)
6161 run : cargo check --workspace --no-default-features
62- - name : Check (loom)
63- run : RUSTFLAGS="--cfg loom" cargo check --workspace --features loom
6462
6563 miri :
6664 name : Miri
@@ -88,12 +86,39 @@ jobs:
8886 - name : Setup Miri
8987 run : cargo miri setup
9088 - name : Test with Miri
91- run : cargo miri nextest run --all-features -- no-fail-fast --tests
89+ run : cargo miri nextest run --no-fail-fast --tests
9290 env :
9391 MIRIFLAGS : -Zmiri-disable-isolation -Zmiri-retag-fields
9492 - name : Run examples with Miri
9593 run : cargo miri run --example calc
9694
95+ shuttle :
96+ name : Shuttle
97+ runs-on : ubuntu-latest
98+ steps :
99+ - name : Checkout
100+ uses : actions/checkout@v4
101+ - name : Setup Rust toolchain
102+ uses : dtolnay/rust-toolchain@master
103+ id : rust-toolchain
104+ with :
105+ toolchain : stable
106+ - uses : taiki-e/install-action@nextest
107+ - uses : actions/cache@v4
108+ with :
109+ path : |
110+ ~/.cargo/bin/
111+ ~/.cargo/registry/index/
112+ ~/.cargo/registry/cache/
113+ ~/.cargo/git/db/
114+ target/
115+ key : ${{ runner.os }}-cargo-${{ steps.rust-toolchain.outputs.cachekey }}-${{ hashFiles('**/Cargo.toml') }}
116+ restore-keys : |
117+ ${{ runner.os }}-cargo-${{ steps.rust-toolchain.outputs.cachekey }}-
118+ ${{ runner.os }}-cargo-
119+ - name : Test with Shuttle
120+ run : cargo nextest run --features shuttle --test parallel
121+
97122 benchmarks :
98123 # https://github.com/CodSpeedHQ/action/issues/126
99124 if : github.event_name != 'merge_group'
0 commit comments