Skip to content

Commit 35e5536

Browse files
committed
disable shared rust cache and cargo clean before cargo test step
1 parent 9ba6cda commit 35e5536

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

.github/workflows/check-rust.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,13 +95,18 @@ jobs:
9595
toolchain: ${{ matrix.rust-branch }}
9696
profile: minimal
9797

98-
- name: Utilize Rust shared cached
99-
uses: Swatinem/[email protected]
100-
with:
101-
key: ${{ matrix.os }}-${{ env.RUST_BIN_DIR }}
98+
# - name: Utilize Rust shared cached
99+
# uses: Swatinem/[email protected]
100+
# with:
101+
# key: ${{ matrix.os }}-${{ env.RUST_BIN_DIR }}
102102

103103
- name: cargo fmt
104104
run: cargo fmt --check
105+
106+
# so we don't run out of disk space!
107+
- name: cargo clean
108+
run: cargo clean
109+
105110
## TODO: maybe use `if` conditions in tests to target `--package <name>`
106111
- name: Run tests
107112
# timeout-minutes: 30

0 commit comments

Comments
 (0)