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
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.