52ea1434f8
support warpbuild cache provider ( #247 )
2025-06-24 19:04:05 +02:00
eaa85be6b1
Add cache-workspace-crates feature ( #246 )
2025-06-22 10:43:50 +02:00
e8e63cdbf2
Allow opting out of caching $CARGO_HOME/bin. ( #216 )
...
Prevents wiping the bin directory, which is harmful for
self-hosted runners.
2024-12-10 08:47:51 +01:00
c00f3025ca
Adds an option to do lookup-only of the cache ( #217 )
2024-11-08 20:36:34 +01:00
640a22190e
Upgrade checkout action from version 3 to 4 ( #190 )
...
This fixes issue #189 .
This is necessary because GitHub actions are going to drop support for Node.js 16.
Version 4 uses Node.js 20.
See https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/
2024-02-27 08:23:34 +01:00
44b6087283
Fix save-if documentation in readme ( #166 )
2023-08-24 15:18:39 +02:00
3312b3ab47
Slightly improve docs
2023-08-02 12:46:45 +02:00
b00faf5858
Add BuildJet Option ( #154 )
2023-08-01 09:01:11 +02:00
ad97570a01
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
2023-05-18 22:48:40 +02:00
def0926359
feat: add option to cache all crates ( #137 )
...
Add cache-all-crates option which allows all crates to be cached instead
of just the dependency crates. This is useful when additional crates are
required for CI tooling.
2023-05-11 23:15:09 +02:00
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
ecee04e7b3
feat: add save-if option, closes #66 ( #91 )
2022-11-06 19:15:00 +01:00
e78327dd9e
small code style improvements, README and CHANGELOG updates
2022-11-06 09:50:33 +01:00
b8e72aae83
Added prefix-key
cache-directories
and cache-targets
options ( #85 )
2022-10-18 23:05:42 +02:00
76686c56f2
docs: Fix github workflows directory ( #79 )
2022-09-19 08:55:11 +02:00
1b43d2f2c3
remove outdated versioning note
2022-09-19 08:49:21 +02:00
622616010e
prepare v2
2022-07-16 12:38:38 +02:00
fa61956921
Include env vars in the generated cache key
2022-07-09 11:53:57 +02:00
5b2b053862
Improve Cache Details documentation ( #49 )
...
Updates the documentation on how the cache works to more
closely match the implementation and to explain some of the design decisions.
2022-03-05 10:04:16 +01:00
801365cd81
hint that checkout has to be used first ( #34 )
2021-09-28 16:03:51 +02:00
536c94f32c
Cache-on-failure support ( #22 )
2021-06-28 23:18:07 +02:00
1b344a0a23
prepare new version
2021-05-30 11:04:10 +02:00
da42bbe56d
Additionally key on Rust toolchain file(s) if present
2021-03-15 14:07:46 +01:00
958028d559
document cache-hit output
...
fixes #5
2021-01-28 18:40:43 +01:00
be44a3e6ff
introduce a new sharedKey option
...
fixes #6
2021-01-28 18:39:11 +01:00
ae893481e8
Write a few Notes in the Readme
2021-01-10 09:42:14 +01:00
9e10a44ea3
support working-directory input, cleanup
2020-12-07 23:56:50 +01:00
fb2efae33d
update readme
2020-11-21 12:21:26 +01:00
e8e3c57b3b
merge all the caches and simplify
2020-10-03 18:39:38 +02:00
f77cb1be47
merge the registry caches together
2020-10-03 18:10:54 +02:00
2bcc375de8
key target by job id automatically
2020-10-03 17:33:09 +02:00
1d1bff80c5
update readme
2020-09-28 12:51:40 +02:00
99970e092c
initial commit
2020-09-26 23:48:29 +02:00