David Tolnay
138ed95c4e
Tweak sparse registry conditional
2023-02-12 13:04:46 -08:00
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 and GitHub
620177ca93
Merge pull request #67 from dtolnay/randomizelayout
...
Enable -Zrandomize-layout on nightly toolchain
2023-02-12 12:28:33 -08:00
David Tolnay
f4baa51409
Enable -Zrandomize-layout on nightly toolchain
2023-02-12 12:25:10 -08:00
David Tolnay and GitHub
785525df07
Merge pull request #66 from dtolnay/sparseregistry
...
Set CARGO_REGISTRIES_CRATES_IO_PROTOCOL
2023-02-12 12:11:33 -08:00
David Tolnay
de1aa37b50
Set CARGO_REGISTRIES_CRATES_IO_PROTOCOL
2023-02-12 12:08:23 -08:00
David Tolnay and GitHub
dd1a82b720
Merge pull request #65 from dtolnay/envset
...
Do not override value of an already set environment variable
2023-02-12 11:49:38 -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
bb357d4af1
Add 1.67.1 patch release
2023-02-09 17:40:59 -08:00
David Tolnay and GitHub
9cd00a88a7
Merge pull request #60 from dtolnay/outputs
...
Document workflow outputs in a table in readme
2023-02-01 15:14:34 -08:00
David Tolnay
3fd7e41f91
Document workflow outputs in a table in readme
2023-02-01 15:06:03 -08:00
David Tolnay and GitHub
c758e63728
Merge pull request #58 from dtolnay/name
...
Add output providing the installed toolchain name
2023-01-31 13:03:31 -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 and GitHub
c8acf68152
Merge pull request #57 from dtolnay/ci
...
Add coverage of a cargo invocation in CI
2023-01-31 12:47:43 -08:00
David Tolnay
82765d8744
Add coverage of a cargo invocation in CI
2023-01-31 12:41:34 -08:00
David Tolnay
6395c05ffc
Test all the toolchain expressions on all platforms
2023-01-31 12:36:27 -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
David Tolnay
ce8f65846d
Revert "Dummy package jsons"
...
This reverts commit 68e6c3438e .
2023-01-21 10:30:38 -08:00
David Tolnay and GitHub
3cf1bcc749
Merge pull request #55 from dtolnay/packagejson
...
Dummy package jsons
2023-01-21 10:29:08 -08:00
David Tolnay
68e6c3438e
Dummy package jsons
2023-01-21 10:24:52 -08:00
David Tolnay and GitHub
b4b52b7a8a
Merge pull request #54 from alex/patch-1
...
Also enable sparse registries with the _new_ environment variable
2023-01-21 10:19:21 -08:00
David Tolnay and GitHub
22cb70465d
Merge pull request #52 from dtolnay/sparseregistry
...
Enable Cargo nightly sparse-registry feature
2023-01-19 13:41:19 -08:00
David Tolnay
bf2c4a29d0
Enable Cargo nightly sparse-registry feature
2023-01-19 13:37:00 -08:00
David Tolnay
5f2e2a7aff
Add 1.66.1 patch release
2023-01-10 17:45:53 -08:00
David Tolnay
e645b0cf01
Time out workflows after 45 minutes
...
GitHub's default timeout is 6 hours. Recently some of my GitHub Actions
jobs have started randomly stalling for that long, which is inconvenient
because it ties up a chunk of my runner quota. It apepars to be very
rare for a job to recover after stalling. It's better to time out
quicker and retry on a different runner.
2022-11-25 18:56:18 -08:00
David Tolnay and GitHub
55c7845fad
Merge pull request #40 from dtolnay/minor
...
Fix "[: ==: unary operator expected"
2022-10-25 12:40:34 -07:00
David Tolnay
a4398b8b24
Fix "[: ==: unary operator expected"
2022-10-25 12:37:36 -07:00
David Tolnay and GitHub
03a97c9690
Merge pull request #39 from dtolnay/minor
...
Push same commit as both minor and largest patch
2022-10-25 12:36:16 -07:00
David Tolnay
5529c958d1
Push same commit as both minor and largest patch
2022-10-25 12:32:51 -07:00
David Tolnay and GitHub
026b841fe4
Merge pull request #38 from dtolnay/minor
...
Add branches for minor versions
2022-10-25 09:06:14 -07:00
David Tolnay
0a0bbf0bcf
Add branches for minor versions
2022-10-25 09:04:00 -07:00
David Tolnay and GitHub
d593a44386
Merge pull request #36 from dtolnay/colors
...
Enable colors in Cargo output
2022-10-24 19:19:47 -07:00
David Tolnay
ba4a065776
Enable colors in Cargo output
2022-10-24 19:18:00 -07:00
David Tolnay and GitHub
ba37adf8f9
Merge pull request #34 from dtolnay/output
...
Switch from set-output to $GITHUB_OUTPUT
2022-10-13 09:32:45 -07:00
David Tolnay
bb53cd0164
Switch from set-output to $GITHUB_OUTPUT
2022-10-13 09:30:53 -07:00
David Tolnay and GitHub
2e4fc08e24
Merge pull request #32 from dtolnay/ago
...
Make sure the 'ago' syntax specifies 'stable'
2022-09-25 07:58:09 -07:00
David Tolnay
b6a0604e19
Make sure the 'ago' syntax specifies 'stable'
2022-09-25 07:56:42 -07:00
David Tolnay and GitHub
ebab191ec5
Merge pull request #31 from dtolnay/expr
...
Add toolchain expressions like '18 months ago'
2022-09-25 06:41:50 -07:00
David Tolnay
dab5f91926
Add toolchain expressions like '18 months ago'
2022-09-25 06:38:21 -07:00
David Tolnay
0f2a41247f
GitHub Workflows security hardening
2022-09-02 15:09:30 -07:00
David Tolnay
4d318db07a
Concise isn't the only point
2022-08-15 16:44:30 -07:00
David Tolnay and GitHub
f7003eed5e
Merge pull request #28 from silwol/master-home-notilde
...
Add to GITHUB_PATH with $HOME instead of ~
2022-08-02 04:10:54 -07: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 and GitHub
4582dac165
Merge pull request #25 from 9999years/multiple-targets
...
Rename `target` to `targets`
2022-07-20 14:45:07 -07:00
David Tolnay and GitHub
6d6cd0e5f5
Merge pull request #27 from dtolnay/incremental
...
Set CARGO_INCREMENTAL=0
2022-07-20 13:29:04 -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
David Tolnay
c517642e90
Add 1.62.1 patch release
2022-07-19 14:43:55 -07:00
David Tolnay and GitHub
6249e8548d
Merge pull request #24 from dtolnay/check
...
Check cache key against expected
2022-07-15 17:01:47 -07:00
David Tolnay
4050d6ccba
Check cache key against expected
2022-07-15 17:00:18 -07:00
David Tolnay
7476109106
Add a CI job on rust 1.0.0
2022-07-15 16:56:39 -07:00
David Tolnay and GitHub
1ce4a7352a
Merge pull request #23 from dtolnay/version
...
Ensure version comes from the just-installed toolchain
2022-07-15 11:15:00 -07: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 and GitHub
9ca18f93cf
Merge pull request #22 from dtolnay/noversion
...
Delete version output
2022-07-15 11:08:53 -07:00
David Tolnay
e75f9d3869
Delete version output
2022-07-15 11:05:04 -07:00
David Tolnay and GitHub
7961e77fd0
Merge pull request #21 from dtolnay/cachekey
...
Add an output intended for cache keys
2022-07-15 11:03:07 -07:00
David Tolnay
378ab83624
Add an output intended for cache keys
2022-07-15 10:59:14 -07:00
David Tolnay and GitHub
18ca32f8dc
Merge pull request #19 from dtolnay/verbose
...
Include compiler commit hash, date, and host in the log
2022-07-15 10:19:17 -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 and GitHub
e2d87b177d
Merge pull request #18 from dtolnay/ci
...
Add a macOS and Windows job to CI matrix
2022-07-15 10:08:55 -07:00
David Tolnay
53c4b468e7
Add a macOS and Windows job to CI matrix
2022-07-15 10:06:35 -07:00
David Tolnay
3d5c338b54
Mention what rev to use when passing toolchain
2022-07-14 11:29:46 -07:00
David Tolnay
0bbb8b41e0
Add example of dated nightly toolchain version
2022-07-14 11:24:05 -07:00
David Tolnay
a6f60ec55f
Wrap description of toolchain input
2022-07-14 11:23:14 -07:00
David Tolnay
e1883a8673
Convert readme markdown table to html table
...
This makes it possible to a second paragraph to the `toolchain` description.
2022-07-14 11:22:11 -07:00
David Tolnay
f4fe19df4e
Fix default components for miri
2022-06-29 10:35:00 -07:00
David Tolnay and GitHub
6f4de0ad73
Merge pull request #16 from dtolnay/xargo
...
Install xargo with miri toolchain
2022-06-29 10:31:15 -07:00
David Tolnay
add0c76632
Install xargo with miri toolchain
2022-06-29 10:17:58 -07:00
David Tolnay and GitHub
e2fb672640
Merge pull request #15 from dtolnay/rustsrc
...
Install rust-src component by default for miri toolchain
2022-06-29 09:41:21 -07:00
David Tolnay
2c39999f2b
Install rust-src component by default for miri toolchain
2022-06-29 09:38:39 -07:00
David Tolnay
4cbcd90bcf
Add a funding file
2022-06-24 12:05:25 -07:00
David Tolnay
4192802e81
Add icon+color branding for Action
2022-06-24 11:48:26 -07:00
David Tolnay and GitHub
a21fd5d63c
Merge pull request #14 from dtolnay/name
...
Disambiguate action name
2022-06-24 11:42:27 -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
1fe553047e
Merge pull request #13 from dtolnay/patch
...
Add git refs for patch releases
2022-06-16 20:37:51 -07:00
David Tolnay
933cf18b38
Add git refs for patch releases
2022-06-16 20:35:44 -07:00
David Tolnay
10eb3a931f
Disable GitHub Actions run when release branches pushed
2022-06-16 20:32:14 -07:00
David Tolnay and GitHub
6b4029fa39
Merge pull request #11 from dtolnay/mirici
...
Only do CI for the miri branch on nightly
2022-06-04 17:24:03 -07:00
David Tolnay
b88a2318c2
Only do CI for the miri branch on nightly
2022-06-04 17:21:35 -07:00
David Tolnay and GitHub
ac5882a3ab
Merge pull request #10 from dtolnay/push
...
Print git push command at end of update-revs.sh
2022-06-04 16:52:24 -07:00
David Tolnay
157fe05a89
Print git push command at end of update-revs.sh
2022-06-04 16:48:01 -07:00
David Tolnay and GitHub
a11e214f9a
Merge pull request #9 from dtolnay/rustup
...
Move title of rustup install step into the run script
2022-06-04 16:43:08 -07:00
David Tolnay
2dcd099451
Move title of rustup install step into the run script
2022-06-04 16:41:30 -07:00
David Tolnay and GitHub
a8259c0b23
Merge pull request #8 from thomcc/autoinstall-rustup
...
Attempt to install rustup when not present
2022-06-04 16:39:58 -07:00
David Tolnay and GitHub
88e7c2e1da
Merge pull request #7 from dtolnay/tools
...
Update update-revs.sh to create clippy and miri branches
2022-04-24 18:59:00 -07:00
David Tolnay
0566215740
Update update-revs.sh to create clippy and miri branches
2022-04-24 18:57:41 -07:00
David Tolnay
314c329137
Move base checkout into loop
2022-04-24 18:50:39 -07:00
David Tolnay and GitHub
89849aa1e8
Merge pull request #6 from dtolnay/checkout
...
Update example workflow in readme to actions/checkout@v3
2022-04-24 18:32:51 -07:00
David Tolnay
47fb9d8bf4
Update CI to actions/checkout@v3
2022-04-24 18:31:38 -07:00