3
0
Fork 0
mirror of https://github.com/Swatinem/rust-cache synced 2026-02-17 00:01:48 +00:00

fix: cache key stability

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-13 19:11:51 +01:00
parent 060bda31e0
commit 68377a4bda
9 changed files with 225 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.