Skip to content

Commit c7231fc

Browse files
committed
ci: Build and test all crates in the workspace
1 parent 82c787d commit c7231fc

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/main.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
run: rustup update nightly --no-self-update && rustup default nightly
2727
- uses: Swatinem/rust-cache@v2
2828
- name: Build and run tests
29-
run: cargo test
29+
run: cargo test --workspace
3030

3131
msrv:
3232
name: Check the MSRV
@@ -46,7 +46,10 @@ jobs:
4646
- name: Install Rust
4747
run: rustup update "$MSRV" --no-self-update && rustup default "$MSRV"
4848
- uses: Swatinem/rust-cache@v2
49-
- run: cargo build --package rustc_apfloat
49+
- run: |
50+
# strip the fuzz crate that uses a newer edition
51+
sed '/members =/d' Cargo.toml
52+
cargo build --package rustc_apfloat
5053
5154
rustfmt:
5255
name: Rustfmt

0 commit comments

Comments
 (0)