Sourced from Swatinem/rust-cache's releases.
v2.0.0
- The action code was refactored to allow for caching multiple workspaces and different
target
directory layouts.- The
working-directory
andtarget-dir
input options were replaced by a singleworkspaces
option that has the form of$workspace -> $target
.- Support for considering
env-vars
as part of the cache key.- The
sharedKey
input option was renamed toshared-key
for consistency.v1.4.0
- Clean both debug and release target directories.
v1.3.0
- Use Rust toolchain file as additional cache key.
- Allow for a configurable target-dir.
v1.2.0
- Cache
~/.cargo/bin
.- Support for custom
$CARGO_HOME
.- Add a
cache-hit
output.- Add a new
sharedKey
option that overrides the automatic job-name based key.v1.1.0
- Add a new
working-directory
input.- Support caching git dependencies.
- Lots of other improvements.
v1.0.1
- Improved logging output.
- Make sure to consider
all-features
dependencies when pruning.- Work around macOS cache corruption.
- Remove git-db cache for now.
Sourced from Swatinem/rust-cache's changelog.
Changelog
2.7.0
- Properly cache
trybuild
tests.2.6.2
- Fix
toml
parsing.2.6.1
- Fix hash contributions of
Cargo.lock
/Cargo.toml
files.2.6.0
- Add "buildjet" as a second
cache-provider
backend.- Clean up sparse registry index.
- Do not clean up src of
-sys
crates.- Remove
.cargo/credentials.toml
before saving.2.5.1
- Fix hash contribution of
Cargo.lock
.2.5.0
- feat: Rm workspace crates version before caching.
- feat: Add hash of
.cargo/config.toml
to key.2.4.0
- Fix cache key stability.
- Use 8 character hash components to reduce the key length, making it more readable.
2.3.0
- Add
cache-all-crates
option, which enables caching of crates installed by workflows.- Add installed packages to cache key, so changes to workflows that install rust tools are detected and cached properly.
- Fix cache restore failures due to upstream bug.
- Fix
EISDIR
error due to globed directories.- Update runtime
@actions/cache
,@actions/io
and devtypescript
dependencies.- Update
npm run prepare
so it creates distribution files with the right line endings.2.2.1
- Update
@actions/cache
dependency to fix usage ofzstd
compression.2.2.0
... (truncated)
a95ba19
2.7.082c8487
changelog67c46e7
Support for trybuild
and similar macro testing tools (#168)44b6087
Fix save-if documentation in readme (#166)e207df5
2.6.2decb69d
Update dependencies and add changelogab6b276
dep: Use smol-toml
instead of toml
(#164)578b235
2.6.15113490
prepare 2.6.1c0e052c
Fix hashing of parsed Cargo.toml
(#160)