Skip to content

Commit 7eda5b6

Browse files
committed
ci: Clean between Check/Clippy/Test
1 parent 7d133e5 commit 7eda5b6

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/ci.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,17 @@ jobs:
7777
- name: Check
7878
run: |
7979
cargo hack check --feature-powerset --no-dev-deps
80+
- name: Clean
81+
run: |
82+
cargo clean
8083
- name: Clippy
8184
run: |
8285
cargo hack clippy --feature-powerset --no-dev-deps -- -D warnings -A unknown-lints
8386
# Clippy will report lints that cannot be acted on without increasing MSRV on later versions of Rust
8487
if: ${{ matrix.rust == '1.64.0' }}
88+
- name: Clean
89+
run: |
90+
cargo clean
8591
- name: Test
8692
run: |
8793
cargo hack test --feature-powerset
@@ -142,11 +148,8 @@ jobs:
142148
run: |
143149
cargo clean
144150
cargo test --all-targets
145-
cargo clean
146151
cargo test --features integer128 --all-targets
147-
cargo clean
148152
cargo test --features indexmap --all-targets
149-
cargo clean
150153
cargo test --all-features --all-targets
151154
env:
152155
CARGO_INCREMENTAL: 0

0 commit comments

Comments
 (0)