Commit Graph
100 Commits
Author SHA1 Message Date
David Tolnay f361669954 Add 1.71.1 patch release
https://blog.rust-lang.org/2023/08/03/Rust-1.71.1.html
2023-08-03 16:14:37 -07:00
David TolnayandGitHub 0e66bd3e6b Merge pull request #90 from dtolnay/sparsedefault
Omit CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse on rustc 1.70+
2023-06-24 16:28:57 -07:00
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 TolnayandGitHub 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 TolnayandGitHub 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 TolnayandGitHub 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 TolnayandGitHub 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 TolnayandGitHub 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 TolnayandGitHub 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 TolnayandGitHub 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 TolnayandGitHub 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 TolnayandGitHub 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 TolnayandGitHub 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 TolnayandGitHub 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 TolnayandGitHub 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 TolnayandGitHub 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 TolnayandGitHub 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 TolnayandGitHub 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 TolnayandGitHub 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 TolnayandGitHub 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 TolnayandGitHub 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 TolnayandGitHub 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 TolnayandGitHub 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 TolnayandGitHub 4582dac165 Merge pull request #25 from 9999years/multiple-targets
Rename `target` to `targets`
2022-07-20 14:45:07 -07:00
David TolnayandGitHub 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 TolnayandGitHub 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 TolnayandGitHub 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 TolnayandGitHub 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 TolnayandGitHub 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 TolnayandGitHub 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 TolnayandGitHub 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 TolnayandGitHub 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 TolnayandGitHub 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 TolnayandGitHub 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