Commit Graph

19 Commits

Author SHA1 Message Date
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