Commit Graph

36 Commits

Author SHA1 Message Date
Jonas Bushart 11df97af8e Update the rustfmt problem matcher
https://github.com/rust-lang/rustfmt/pull/5971
https://github.com/actions-rust-lang/rustfmt/issues/5
2024-10-01 23:06:20 +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 86a2ce6673 Make toolchain install more robust 2024-09-20 00:39:06 +02:00
Jonas Bushart eb4a655afd Document new keys and add changelog 2024-09-20 00:27:10 +02:00
Jonas Bushart 46dca5d120
Add changelog entry 2024-06-08 12:40:20 +02:00
Rob Ede 039765bd18
chore: prepare release 1.8.0 2024-01-13 17:45:49 +00:00
Rob Ede c4ac4d95de
Prepare 1.7.0 release 2024-01-11 03:20:22 +00:00
Rob Ede af702488e5
ci: update checked rust-toolchain version 2024-01-11 03:12:29 +00:00
Jonas Bushart c7e1de2846
Update CHANGELOG.md 2023-12-04 00:16:34 +01:00
Jonas Bushart 1ef811fbfb Restore behavior to not touch existing RUSTFLAGS variable
Add changelog
2023-05-29 21:38:39 +02:00
Jonas Bushart 289d5e6164 Add changelog 2023-05-29 20:31:27 +02:00
Jonas Bushart 12a4c2d9dc Add new problem matcher that is aware of color codes
The action runner currently fails to strip color codes from the output.
This means that many matchers currectly do not work.

https://github.com/actions/runner/issues/2341
https://github.com/actions/runner/pull/2430

The new matcher is copied from kaj/rsass which is MIT licensed.

3e5d6c0600/.github/workflows/rust-problem-matcher.json
2023-03-18 00:18:20 +01:00
Jonas Bushart cea2ca57ed Add changelog entry 2023-02-21 21:15:17 +00:00
Jonas Bushart 2d7b97c05c Tweak sparse registry version regex and command not found
These issues are reported again rust-toolchain from which the code is
inspired.

https://github.com/dtolnay/rust-toolchain/issues/71

https://github.com/dtolnay/rust-toolchain/pull/69#pullrequestreview-1299712112
2023-02-15 18:49:49 +01:00
Jonas Bushart c7c759a5c9 New version with macOS fix 2023-02-13 23:47:49 +01:00
Jonas Bushart 51b4f8316a Bump version to 1.4.0 2023-02-13 21:09:16 +01:00
Jonas Bushart 2ee353b897 Enable sparse registry access using the stable configuration
Exclude versions 1.66 and 1.67, which don't support stable sparse registry.
2023-02-13 21:00:11 +01:00
Jonas Bushart 045ad9ff3f Only set env vars if they are unset. 2023-02-13 20:58:51 +01:00
Jonas Bushart dfa8744db3
Do not enable sparse registry on stable 2023-01-31 23:15:57 +01:00
Jonas Bushart 2941fbfa4a
Use the correct variable to enable sparse registry access 2023-01-31 13:10:41 +01:00
Jonas Bushart bc88fd0b3e
Enable sparse registry access after stabilization
https://github.com/rust-lang/cargo/pull/11224
https://github.com/dtolnay/rust-toolchain/pull/54
2023-01-21 18:18:27 +01:00
Jonas Bushart 685abf8306 Change some missed set-output commands to GITHUB_OUTPUT 2022-10-15 15:48:55 +02:00
Jonas Bushart b71469df8b Switch from set-output to $GITHUB_OUTPUT
https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
2022-10-13 21:01:25 +02:00
Jonas Bushart eeb9aed65a
Update Changelog 2022-09-15 22:17:16 +02:00
Jonas Bushart 08010b773d Use sparse registry on nightly
Fixes #5
2022-08-14 15:09:22 +00:00
Jonas Bushart dcf4d74c21 Update Changelog 2022-07-30 23:57:54 +02:00
Filip Š 3ec6dbd408 Add an option to disable configuring Rust cache 2022-07-30 20:01:50 +02:00
Jonas Bushart 137d2d5a3a Set environment variables before running rust-cache 2022-07-29 23:22:43 +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 c17331ebbf Update changelog for v1.1.0 2022-07-19 19:03:54 +00:00
Jonas Bushart 49e54cc50a Update to newer version of caching action 2022-07-19 19:01:40 +00:00
Jonas Bushart 29a2385140 Better and more verbose version printing and cachekey version. 2022-07-19 19:00:36 +00:00
Jonas Bushart 8ba04cb6f2 Install rustup if not available, Linux only
The original code stems from this PR:
https://github.com/dtolnay/rust-toolchain/pull/8
2022-07-19 18:48:19 +00:00
Jonas Bushart 9015641f5c Update changelog 2022-04-20 20:27:13 +00:00
Jonas Bushart 85cc8bd3df Add changelog 2022-04-20 20:15:26 +00:00