Skip to content

Commit a072b45

Browse files
committed
ci: set cache-workspace-crates: true for rust-cache since most workspace crates rarely change
1 parent 6f34351 commit a072b45

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ jobs:
4545
# cached, what gets used as part of the key, and what additional handling
4646
# happens to make the cache reliable and smaller.
4747
- uses: Swatinem/rust-cache@v2
48+
with:
49+
cache-workspace-crates: true
4850

4951
# Run after `rust-cache` so that this is cached.
5052
- run: rustup component add rustfmt rustc-dev

0 commit comments

Comments
 (0)