fix: bump rust cache format
This commit is contained in:
@@ -20,6 +20,7 @@ jobs:
|
||||
with:
|
||||
toolchain: stable # optional, defaults to stable
|
||||
cache-prefix: rust # optional, defaults to rust
|
||||
cache-version: v2 # optional, defaults to v2
|
||||
|
||||
- run: cargo build --release
|
||||
- run: cargo test
|
||||
@@ -35,7 +36,7 @@ jobs:
|
||||
### Cache key format
|
||||
|
||||
```
|
||||
{cache-prefix}-{runner.os}-{runner.arch}-{toolchain}-{hash(manifests/toolchain files)}
|
||||
{cache-prefix}-{cache-version}-{runner.os}-{runner.arch}-{toolchain}-{hash(manifests/toolchain files)}
|
||||
```
|
||||
|
||||
Warm builds run in ~40–60s vs ~3min for a cold build.
|
||||
|
||||
Reference in New Issue
Block a user