mirror of
https://github.com/Swatinem/rust-cache
synced 2025-04-05 21:24:07 +00:00
update readme
This commit is contained in:
parent
da5df52d2f
commit
fb2efae33d
10
README.md
10
README.md
|
@ -15,6 +15,7 @@ The cache currently caches the following directories:
|
||||||
|
|
||||||
- `~/.cargo/registry/index`
|
- `~/.cargo/registry/index`
|
||||||
- `~/.cargo/registry/cache`
|
- `~/.cargo/registry/cache`
|
||||||
|
- `~/.cargo/git`
|
||||||
- `./target`
|
- `./target`
|
||||||
|
|
||||||
This cache is automatically keyed by:
|
This cache is automatically keyed by:
|
||||||
|
@ -31,5 +32,10 @@ In particular, no caching of workspace crates will be done. For
|
||||||
this reason, this action will automatically set `CARGO_INCREMENTAL=0` to
|
this reason, this action will automatically set `CARGO_INCREMENTAL=0` to
|
||||||
disable incremental compilation.
|
disable incremental compilation.
|
||||||
|
|
||||||
**TODO**: The `~/.cargo/git/db` database is not yet persisted, support will be
|
The action will try to restore from a previous `Cargo.lock` version as well, so
|
||||||
added at a later point.
|
lockfile updates should only re-build changed dependencies.
|
||||||
|
|
||||||
|
Additionally, the action automatically works around
|
||||||
|
[cargo#8603](https://github.com/rust-lang/cargo/issues/8603) /
|
||||||
|
[actions/cache#403](https://github.com/actions/cache/issues/403) which would
|
||||||
|
otherwise corrupt the cache on macOS builds.
|
||||||
|
|
Loading…
Reference in a new issue