Commit Graph
37 Commits
Author SHA1 Message Date
ChanTsune 186b99ef06 feat: add cache-save-if input to propagate save-if to Swatinem/rust-cache 2026-04-11 23:57:43 +09:00
Ryu fa057b45cf Update actions/checkout to v6 on README 2026-03-22 12:17:35 +09:00
Jonas Bushart 2fcdc490d6 Update readme and changelog for 1.15.0 2025-09-14 21:49:03 +02:00
Jonas Bushart 89d3d963c9 Merge pull request #69 from Kubaryt/main 2025-09-14 20:38:20 +01:00
martinfrances107 fd2478fbf0 README should direct users to actions/checkout@5. 2025-09-03 18:58:19 +01:00
Kubaryt 0be57f121b combine rust-src-dir presence and rust_toolchain file presence checks 2025-08-28 14:20:24 +02:00
Kubaryt 426e06d077 enhancement: Add option to specify rust-toolchain.toml path (#47) 2025-08-27 17:28:40 +02:00
Jonas Bushart ab6845274e Add new parameters cache-all-crates and cache-workspace-crates
Add new parameters `cache-all-crates` and `cache-workspace-crates` that
are propagated to `Swatinem/rust-cache` as `cache-all-crates` and
`cache-workspace-crates`

Closes #67
2025-08-23 17:08:42 +02:00
lukas 82947d77a9 feat: support cache-provider 2025-06-16 08:02:53 +02:00
Jonas Bushart 9988a3d74b Update the dependency section to mark the new windows rustup support 2025-04-23 22:42:15 +02:00
Rob Ede 3c7cfa82dc Merge branch 'main' into rel-1110 2025-02-24 02:35:39 +00:00
Rob Ede 6cbea1a794 chore: prepare release 1.11.0 2025-02-24 02:19:52 +00:00
Rob Ede 6f9a9da9f9 Merge branch 'main' into main 2025-02-24 02:15:25 +00:00
Enkhjil Enkhbaatar 30081c4da5 fix: add cache-bin input with true as default value 2025-02-11 12:01:30 +09:00
skanehira f8efd60d2d feat: add shared-cache-key to inputs 2025-02-08 01:24:48 +09:00
Jonas Bushart 97db979bf8 Specify dependencies in README 2024-10-21 23:54:51 +02:00
Jonas Bushart 4d1965c914 Add override input parameter that controls the rustup override behavior 2024-09-22 16:04:02 +02:00
Jonas Bushart b31b1317f2 Allow installing multiple Rust toolchains at once. 2024-09-22 15:28:43 +02:00
Jonas Bushart eb4a655afd Document new keys and add changelog 2024-09-20 00:27:10 +02:00
Jonas Bushart 597574aacb Update key name in README 2024-09-20 00:23:09 +02:00
Iain Lane b01657d9bb Add support for adding to cache key
When using this action in multiple matrix jobs in the same workflow, the
generated cache key is the same for all of them, because they all get
the same job ID. This means that all apart from the first job are unable
to save the cache, and subsequent runs might restore the wrong cache.

The `Swatinem/rust-cache` action which we use for caching has a `key`
input which it puts in its cache key. (It doesn't override the key, just
adds to it.) Providing this as an input here will allow us to generate a
unique cache key for each job in the matrix.
2024-07-13 07:31:43 +01:00
Jonas Bushart 1734e14b0b Switch default of cache-on-failure to true 2024-06-08 12:33:50 +02:00
Samuel Henrique d60b90debe feat: adds cache-on-failure propagation 2024-05-25 08:26:47 +00:00
gruebel f2e9ed58bd add workspaces input field to support non-root projects 2024-01-12 18:41:01 +01:00
Rob Ede 99ab88ad00 Merge branch 'main' into allow-overriding-toolchain-file 2024-01-11 02:56:08 +00:00
Jonas Bushart 24c9dd087b Merge pull request #24 from obi1kenobi/patch-1 2023-12-04 00:15:38 +01:00
dcvz 84ba0c9d1b Update README 2023-11-30 11:45:35 +01:00
James ‘Twey’ Kay 5ea736b97f Allow overriding the toolchain file 2023-10-31 12:58:53 +00:00
Predrag Gruevski 33678a48c0 Add docs for the cachekey output to the README
It seems like it's being output, just wasn't documented: https://github.com/actions-rust-lang/setup-rust-toolchain/blob/main/action.yml#L144
2023-10-17 22:01:06 -04:00
Jonas Bushart 317ed62323 Update example workflow in readme 2023-10-03 18:55:16 +02:00
Jonas Bushart 1ef811fbfb Restore behavior to not touch existing RUSTFLAGS variable
Add changelog
2023-05-29 21:38:39 +02:00
Jean Mertz 24274e4435 allow disabling RUSTFLAGS config 2023-05-29 21:27:29 +02:00
Jonas Bushart 661e2d23dd Explain the new behavior in the README 2023-05-20 18:03:52 +02:00
Filip Š 3ec6dbd408 Add an option to disable configuring Rust cache 2022-07-30 20:01:50 +02:00
Jonas Bushart 8282e10527 Show rustfmt action in example workflow
Show how the related rustfmt action can be used.
2022-07-27 20:42:53 +02:00
Jonas Bushart 379d2bfd83 Add support for toolchain files
A toolchain file in the repository root will always take priority.

Closes #1
2022-07-21 21:16:38 +00:00
Jonas Bushart 95a2f11bba Add README 2022-04-20 19:33:41 +00:00