3
0
Fork 0
mirror of https://github.com/dtolnay/rust-toolchain.git synced 2024-11-25 17:49:31 +01:00
Commit graph

52 commits

Author SHA1 Message Date
David Tolnay
b17a489743
Move sparse registry comment out of section title 2023-02-12 12:46:53 -08:00
David Tolnay
edee0abeb7
Revert "Enable -Zrandomize-layout on nightly toolchain"
This reverts commit f4baa51409.
2023-02-12 12:39:40 -08:00
David Tolnay
f4baa51409
Enable -Zrandomize-layout on nightly toolchain 2023-02-12 12:25:10 -08:00
David Tolnay
de1aa37b50
Set CARGO_REGISTRIES_CRATES_IO_PROTOCOL 2023-02-12 12:08:23 -08:00
David Tolnay
5dd156c2f5
Do not override value of an already set environment variable 2023-02-12 11:45:44 -08:00
David Tolnay
0b8aa5ea11
Touch up spacing in rustup command 2023-02-12 11:42:32 -08:00
David Tolnay
0c819c9641
Fix CI workflow parse error
Error: /home/runner/work/rust-toolchain/rust-toolchain/./action.yml (Line: 27, Col: 18): A template expression is not allowed in this context
    Error: /home/runner/work/rust-toolchain/rust-toolchain/./action.yml (Line: 27, Col: 18): A template expression is not allowed in this context
    Error: GitHub.DistributedTask.ObjectTemplating.TemplateValidationException: The template is not valid. /home/runner/work/rust-toolchain/rust-toolchain/./action.yml (Line: 27, Col: 18): A template expression is not allowed in this context
       at GitHub.DistributedTask.ObjectTemplating.TemplateValidationErrors.Check()
       at GitHub.Runner.Worker.ActionManifestManager.ConvertRuns(IExecutionContext executionContext, TemplateContext templateContext, TemplateToken inputsToken, String fileRelativePath, MappingToken outputs)
       at GitHub.Runner.Worker.ActionManifestManager.Load(IExecutionContext executionContext, String manifestFile)
    Error: Fail to load /home/runner/work/rust-toolchain/rust-toolchain/./action.yml
2023-01-31 13:00:22 -08:00
David Tolnay
5e9debf6f0
Add output providing the installed toolchain name 2023-01-31 12:54:16 -08:00
David Tolnay
d7bc4da3d8
Bash comment 2023-01-31 12:10:48 -08:00
David Tolnay
60436bd17a
Delete stable sparse registry env variable
Fixes #56.
2023-01-31 12:09:10 -08:00
David Tolnay
38c74e42a6
Fix sparse registries environment variable 2023-01-31 11:48:33 -08:00
Alex Gaynor
60cdf46ba8
Also enable sparse registries with the _new_ environment variable
Changed yesterday: https://github.com/rust-lang/cargo/pull/11224
2023-01-21 10:45:57 -05:00
David Tolnay
bf2c4a29d0
Enable Cargo nightly sparse-registry feature 2023-01-19 13:37:00 -08:00
David Tolnay
ba4a065776
Enable colors in Cargo output 2022-10-24 19:18:00 -07:00
David Tolnay
bb53cd0164
Switch from set-output to $GITHUB_OUTPUT 2022-10-13 09:30:53 -07:00
David Tolnay
b6a0604e19
Make sure the 'ago' syntax specifies 'stable' 2022-09-25 07:56:42 -07:00
David Tolnay
dab5f91926
Add toolchain expressions like '18 months ago' 2022-09-25 06:38:21 -07:00
Wolfgang Silbermayr
1f4843331b Add to GITHUB_PATH with $HOME instead of ~ 2022-08-02 12:05:00 +02:00
David Tolnay
415f4eec04
Fix typo in inputs expression 2022-07-20 14:55:40 -07:00
David Tolnay
404bb95f09
Do the fallback from targets to target as a yaml expression 2022-07-20 14:53:46 -07:00
David Tolnay
c9932df3e4
Fix targets input 2022-07-20 14:51:07 -07:00
David Tolnay
8514966bb2
Format targets conditional more compactly 2022-07-20 14:46:26 -07:00
David Tolnay
d872b66ee6
Fill in missing input to rustup command line step 2022-07-20 14:45:43 -07:00
David Tolnay
4582dac165
Merge pull request #25 from 9999years/multiple-targets
Rename `target` to `targets`
2022-07-20 14:45:07 -07:00
David Tolnay
df47cd7856
Set CARGO_INCREMENTAL=0 2022-07-20 13:25:21 -07:00
David Tolnay
6af6d2b8ea
Space out workflow steps 2022-07-20 13:23:41 -07:00
Rebecca Turner
fd72fa8a0d Rename target to targets 2022-07-19 12:21:41 -04:00
David Tolnay
19603a2b92
Ensure version comes from the just-installed toolchain 2022-07-15 11:11:37 -07:00
David Tolnay
d335e67920
Retitle cachekey step 2022-07-15 11:10:03 -07:00
David Tolnay
e75f9d3869
Delete version output 2022-07-15 11:05:04 -07:00
David Tolnay
378ab83624
Add an output intended for cache keys 2022-07-15 10:59:14 -07:00
David Tolnay
e4aceeade6
Include compiler commit hash, date, and host in the log 2022-07-15 10:16:55 -07:00
David Tolnay
28efc6cfe3
Add example of the 'version' output 2022-07-15 10:12:30 -07:00
David Tolnay
4192802e81
Add icon+color branding for Action 2022-06-24 11:48:26 -07:00
David Tolnay
e04dee54dd
Disambiguate action name
GitHub Marketplace requires:

    Name must be unique. Cannot match an existing action, user or organization name.
2022-06-24 11:40:41 -07:00
David Tolnay
2dcd099451
Move title of rustup install step into the run script 2022-06-04 16:41:30 -07:00
Thom Chiovoloni
6ebfe94518
Respect $CARGO_HOME when auto-installing rustup 2022-06-04 16:01:55 -07:00
Thom Chiovoloni
6b014e5670
Attempt to install rustup when not present 2022-06-04 15:32:04 -07:00
David Tolnay
1bccaa1715
Emit allow-downgrade flag only on nightly with components 2021-10-09 06:10:44 +01:00
David Tolnay
c1964a6b50
Clean up bash variable naming 2021-10-09 06:04:03 +01:00
David Tolnay
cd924db82b
Opt in to downgrade on unavailable components 2021-10-09 05:11:12 +01:00
David Tolnay
8e1a49f458
Support multiple targets 2021-10-09 05:09:30 +01:00
David Tolnay
eaa8734e7e
Name in a way that is actually rendered by Actions ui 2021-10-09 05:08:40 +01:00
David Tolnay
947b7d5e81
Name flags step 2021-10-09 05:07:58 +01:00
David Tolnay
a538c0eb3d
Rearrange flags generation into one step 2021-10-09 05:07:44 +01:00
David Tolnay
8fb5bc3133
Handle whitespace in comma separated components 2021-10-09 04:57:39 +01:00
David Tolnay
123acc0c06
Extract target and component flag generation to steps 2021-10-09 04:42:18 +01:00
David Tolnay
58522575e4
Support installing additional rustup components 2021-10-09 04:20:26 +01:00
David Tolnay
d115c8759a
Support specifying target triple 2021-10-09 04:16:07 +01:00
David Tolnay
1b2f63dd38
Provide rustc version as a workflow output 2021-10-09 04:06:06 +01:00