Commit graph

141 commits

Author SHA1 Message Date
David Tolnay
0d263d75b1
Omit CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse on rustc 1.70+ 2023-06-24 16:26:12 -07:00
David Tolnay
1f5cdb56c8
Predefine branches up to 1.80 2023-06-19 11:00:47 -07:00
David Tolnay
b051cf32dc
Expand curl flags 2023-06-19 10:58:08 -07:00
David Tolnay
b44cb146d0
Add 1.68.2 patch release
https://blog.rust-lang.org/2023/03/28/Rust-1.68.2.html
2023-03-28 09:32:13 -07:00
David Tolnay
fc3253060d
Add 1.68.1 patch release
https://blog.rust-lang.org/inside-rust/2023/03/20/1.68.1-prerelease.html
2023-03-20 22:36:10 -07:00
David Tolnay
e12eda571d
Support a manual trigger on CI workflow 2023-02-18 17:23:55 -08:00
David Tolnay
52e69531e6
Merge pull request #74 from dtolnay/gitprotocol
Overwrite previously set CARGO_REGISTRIES_CRATES_IO_PROTOCOL
2023-02-15 13:32:21 -08:00
David Tolnay
df6c627e20
Overwrite previously set CARGO_REGISTRIES_CRATES_IO_PROTOCOL 2023-02-15 13:28:23 -08:00
David Tolnay
0313d8c868
Pass empty string to -z, instead of no arg
This plays better with extending these conditionals with an `-o` or `-a`.
2023-02-15 13:11:48 -08:00
David Tolnay
0a1713a447
Merge pull request #72 from dtolnay/not
Fix not -> !
2023-02-15 03:46:26 -08:00
David Tolnay
e6d955b6b3
Fix 'syntax error near unexpected token !' 2023-02-15 03:32:46 -08:00
David Tolnay
9fd0ad29be
Fix not -> ! 2023-02-15 03:32:09 -08:00
David Tolnay
25dc93b901
Merge pull request #69 from dtolnay/sparseregistry
Tweak sparse registry conditional
2023-02-12 13:10:08 -08:00
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
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
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
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
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
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
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