3
0
Fork 0
mirror of https://github.com/Swatinem/rust-cache synced 2025-11-03 06:07:52 +00:00

fix: cache key stability (#142)

Ensure consistency of main and post configuration by storing and
restoring it from state, which in turn ensures cache key stability.

Also:
* Fixed some typos.
* Use core.error for logging errors.
* Fix inverted condition on cache-all-crates.

Reverts: #138
Fixes #140
This commit is contained in:
Steven Hartland 2023-05-18 21:48:40 +01:00 committed by GitHub
parent 060bda31e0
commit ad97570a01
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 260 additions and 175 deletions

View file

@ -1,5 +1,9 @@
# Changelog
## 2.3.1
- Fix cache key stability.
## 2.3.0
- Add `cache-all-crates` option, which enables caching of crates installed by workflows.