- Fix regression in hash calculation
- Update to
node24 - Support running from within a
nixshell - Consider all installed toolchains for cache key
- Use case-insensitive comparison to determine exact cache hit
- Don't overwrite env for cargo-metadata call
- Set empty
CARGO_ENCODED_RUSTFLAGSwhen retrieving metadata - Various dependency updates
- Add support for
warpbuildcache provider - Add new
cache-workspace-cratesfeature
- Include CPU arch in the cache key
- Also cache
cargo installmetadata
- Allow opting out of caching $CARGO_HOME/bin
- Add runner OS in cache key
- Adds an option to do lookup-only of the cache
- Support Cargo.lock format cargo-lock v4
- Only run macOsWorkaround() on macOS
- Work around upstream problem that causes cache saving to hang for minutes.
- Only key by
Cargo.tomlandCargo.lockfiles of workspace members.
- Update toml parser to fix parsing errors.
- Properly cache
trybuildtests.
- Fix
tomlparsing.
- Fix hash contributions of
Cargo.lock/Cargo.tomlfiles.
- Add "buildjet" as a second
cache-providerbackend. - Clean up sparse registry index.
- Do not clean up src of
-syscrates. - Remove
.cargo/credentials.tomlbefore saving.
- Fix hash contribution of
Cargo.lock.
- feat: Rm workspace crates version before caching.
- feat: Add hash of
.cargo/config.tomlto key.
- Fix cache key stability.
- Use 8 character hash components to reduce the key length, making it more readable.
- Add
cache-all-cratesoption, 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
EISDIRerror due to globed directories. - Update runtime
@actions/cache,@actions/ioand devtypescriptdependencies. - Update
npm run prepareso it creates distribution files with the right line endings.
- Update
@actions/cachedependency to fix usage ofzstdcompression.
- Add new
save-ifoption to always restore, but only conditionally save the cache.
- Only hash
Cargo.{lock,toml}files in the configured workspace directories.
- Avoid calling
cargo metadataon pre-cleanup. - Added
prefix-key,cache-directoriesandcache-targetsoptions.
- Primarily just updating dependencies to fix GitHub deprecation notices.
- The action code was refactored to allow for caching multiple workspaces and
different
targetdirectory layouts. - The
working-directoryandtarget-dirinput options were replaced by a singleworkspacesoption that has the form of$workspace -> $target. - Support for considering
env-varsas part of the cache key. - The
sharedKeyinput option was renamed toshared-keyfor consistency.
- Clean both
debugandreleasetarget directories.
- Use Rust toolchain file as additional cache key.
- Allow for a configurable target-dir.
- Cache
~/.cargo/bin. - Support for custom
$CARGO_HOME. - Add a
cache-hitoutput. - Add a new
sharedKeyoption that overrides the automatic job-name based key.
- Add a new
working-directoryinput. - Support caching git dependencies.
- Lots of other improvements.
- Don’t prune targets that have a different name from the crate, but do prune targets from the workspace.
- Improved logging output.
- Make sure to consider
all-featuresdependencies when pruning. - Work around macOS cache corruption.
- Remove git-db cache for now.