Commit graph

164 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Rebecca Turner
fd72fa8a0d Rename target to targets 2022-07-19 12:21:41 -04:00
David Tolnay
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
1ce4a7352a
Merge pull request #23 from dtolnay/version
Ensure version comes from the just-installed toolchain
2022-07-15 11:15:00 -07:00