3
0
Fork 0
mirror of https://github.com/Swatinem/rust-cache synced 2026-02-07 11:32:15 +00:00
Commit graph

13 commits

Author SHA1 Message Date
Steven Hartland
c7502cd809 chore: make config load from state explicit
Make the loading of config from state explicit by splitting into a
dedicated static method.
2023-05-17 21:42:24 +01:00
Steven Hartland
68377a4bda 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
2023-05-17 12:04:15 +01:00
Steven Hartland
827c240e23
fix: cache key dependency on installed packages (#138)
Add the installed packages to the environment element of the cache key
so that CI tooling is considered. This ensures that rust CI tooling is
cached correctly when changes occur. Prior to this a manual key change
or cache expiry would need to occur before CI tools were correctly
cached.
2023-05-11 23:12:12 +02:00
Felix Riegger
99229f978c
Fix EISDIR error due to globbed directories (#1) (#132) 2023-05-02 21:49:27 +02:00
Arpad Borsos
e78327dd9e
small code style improvements, README and CHANGELOG updates 2022-11-06 09:50:33 +01:00
Lucas Fernandes Nogueira
ccdddcc049
only hash Cargo.toml/Cargo.lock that belong to a configured workspace (#90) 2022-11-05 21:18:04 +01:00
Mikhail Katychev
b8e72aae83
Added prefix-key cache-directories and cache-targets options (#85) 2022-10-18 23:05:42 +02:00
Arpad Borsos
622616010e
prepare v2 2022-07-16 12:38:38 +02:00
Arpad Borsos
7b8626742a
update registry cleaning 2022-07-09 18:51:34 +02:00
Arpad Borsos
827b33fbd0
pretty printing and fix workspace package retrieval 2022-07-09 15:51:45 +02:00
Arpad Borsos
cb43a50800
fix env filtering 2022-07-09 15:31:33 +02:00
Arpad Borsos
11be10514b
fix pretty printing 2022-07-09 15:25:09 +02:00
Arpad Borsos
6ed4c28a7c
rewrite it all 2022-07-09 15:19:29 +02:00