mirror of
https://github.com/jdx/mise-action.git
synced 2026-05-21 00:31:54 +00:00
fix(cache): exclude rust from mise cache
This commit is contained in:
parent
5780a89cf2
commit
1ddfb33729
4 changed files with 86 additions and 11 deletions
|
|
@ -96,9 +96,11 @@ This gives you full control over cache invalidation based on the specific aspect
|
|||
|
||||
### Rust and Cargo Caches
|
||||
|
||||
This action caches mise's own data, but it is not a replacement for a Cargo-aware
|
||||
cache. For Rust projects, cache Cargo dependencies, build artifacts, and
|
||||
Cargo-installed tools explicitly.
|
||||
This action caches mise's own data, but it does not save Rust toolchains.
|
||||
According to [mise's Rust documentation](https://mise.jdx.dev/lang/rust.html),
|
||||
Rust is managed by rustup, uses `RUSTUP_HOME` and `CARGO_HOME`, and does not live
|
||||
under mise's `installs` directory. For Rust projects, cache Cargo dependencies,
|
||||
build artifacts, and Cargo-installed tools explicitly.
|
||||
|
||||
The usual setup is to run `Swatinem/rust-cache` after `mise-action`, so the cache
|
||||
key can include the Rust/Cargo environment and Cargo lockfiles:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue