187 Commits

Author SHA1 Message Date
7e1e2d0a10 Set empty CARGO_ENCODED_RUSTFLAGS in workspace metadata retrieval (#249) 2025-06-27 19:56:05 +02:00
98c8021b55 2.8.0 v2 v2.8.0 2025-06-25 18:29:46 +02:00
14d3bc39c4 update Changelog 2025-06-25 18:29:46 +02:00
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
901019c0f8 Update the test lockfiles 2025-06-20 09:12:23 +02:00
9d47c6ad4b 2.7.8 v2.7.8 2025-03-19 08:16:06 +01:00
27b8ea9368 Include CPU arch in the cache key (#228) 2025-02-08 15:36:01 +01:00
f0deed1e0e 2.7.7 v2.7.7 2024-12-29 08:48:10 +01:00
008623fb83 also cache cargo install metadata 2024-12-29 08:47:45 +01:00
720f7e45cc 2.7.6 v2.7.6 2024-12-28 08:37:30 +01:00
4b1f006ad2 update dependencies, in particular @actions/cache 2024-12-28 08:36:36 +01: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
9a2e0d3212 add runner OS in cache key (#220) 2024-12-09 22:32:01 +01:00
c00f3025ca Adds an option to do lookup-only of the cache (#217) 2024-11-08 20:36:34 +01:00
68b3cb7503 Updated artifact upload action to v4 (#212) 2024-10-17 09:52:18 +02:00
82a92a6e8f 2.7.5 v2.7.5 2024-10-12 12:15:11 +02:00
598fe25fa1 update dependencies, rebuild 2024-10-12 12:14:29 +02:00
8f842c2d45 Support Cargo.lock format cargo-lock v4 (#211)
Fixed #209

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2024-10-08 20:55:46 +02:00
96a8d65dba Only run macOsWorkaround() on macOS (#206) 2024-09-17 17:45:02 +02:00
9bdad043e8 fix: usage of deprecated version of node (#197) 2024-05-03 16:02:43 +02:00
f7a52f6914 "add jsonpath test" 2024-03-24 10:00:25 +01:00
2bceda3912 "update dependencies" 2024-03-24 09:56:50 +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
1582741630 update dependencies 2024-02-04 09:29:45 +01:00
23bce251a8 2.7.3 v2.7.3 2024-01-14 09:31:14 +01:00
378c8285a4 Work around upstream GitHub issue and update dependencies 2024-01-14 09:26:03 +01:00
a226033982 2.7.2 v2.7.2 2024-01-10 19:34:14 +01:00
d30f1144e8 Only key by Cargo.toml and Cargo.lock files of workspace members (#180) 2023-12-03 11:57:51 +01:00
b1db5f9d5f Update action runtime to node20 (#175) 2023-10-25 20:36:38 +02:00
3cf7f8cc28 2.7.1 v2.7.1 2023-10-21 10:37:46 +02:00
e03705e031 changelog 2023-10-21 10:37:41 +02:00
b86d1c6caa bump all the other dependencies too 2023-10-21 10:36:18 +02:00
f27990c89a Update Dependencies (#172)
Update smol-toml 1.1.3
2023-10-20 15:35:55 +02:00
a95ba19544 2.7.0 v2.7.0 2023-09-12 19:34:11 +02:00
82c8487d00 changelog 2023-09-12 19:34:01 +02:00
67c46e7159 Support for trybuild and similar macro testing tools (#168)
Signed-off-by: Filippo Costa <filippo@neysofu.me>
2023-09-12 19:32:03 +02:00
44b6087283 Fix save-if documentation in readme (#166) 2023-08-24 15:18:39 +02:00
e207df5d26 2.6.2 v2.6.2 2023-08-20 10:28:01 +02:00
decb69d790 Update dependencies and add changelog 2023-08-20 10:27:32 +02:00
ab6b2769d1 dep: Use smol-toml instead of toml (#164)
Fixed #162 #163

The former is listed on
https://github.com/toml-lang/toml/wiki#implementations and is toml 1.0
compliant.

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-08-19 12:23:03 +02:00
578b235f6e 2.6.1 v2.6.1 2023-08-12 16:51:06 +02:00
5113490c3f prepare 2.6.1 2023-08-12 16:50:53 +02:00
c0e052c18c Fix hashing of parsed Cargo.toml (#160)
The values for the dependencies could be strings intead of objects, so
add a `try` block to take care of that.

Also set `dep.path` to `""` if the dependency contains a key `path` to
make sure that the cache isn't invalidated due to change in workspace.

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-08-12 12:34:30 +02:00
4e0f4b19dd Fix typo in hashing parsed Cargo.lock (#159)
This simple mistake caused the entire `Cargo.lock` to be ignored (JS
treats having no return as `false`).

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-08-10 19:50:14 +02:00
b919e1427f feat: Add logging to Cargo.lock/Cargo.toml hashing (#156)
There are a few problems in cargo-binstall where sometimes change to
`Cargo.lock` does not invalidate the cache.

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-08-04 12:39:02 +02:00
b8a6852b4f 2.6.0 v2.6.0 2023-08-02 13:06:28 +02:00
80c47cc945 Clean up credentials.toml 2023-08-02 12:54:48 +02:00
5ec9842c14 bump test dependencies 2023-08-02 12:47:24 +02:00
3312b3ab47 Slightly improve docs 2023-08-02 12:46:45 +02:00