forked from mozilla/neqo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* ci: Pin nightly Due to rust-lang/rust#135235 * Use default toolchain * Use default toolchain more
- Loading branch information
1 parent
ef9e4dc
commit db0a332
Showing
2 changed files
with
8 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,7 +24,8 @@ runs: | |
- name: Install Rust | ||
uses: dtolnay/rust-toolchain@21dc36fb71dd22e3317045c0c31a3f4249868b17 # master | ||
with: | ||
toolchain: ${{ inputs.version }} | ||
# TODO: Unpin once https://github.com/rust-lang/rust/issues/135235 is fixed. | ||
toolchain: ${{ inputs.version == 'nightly' && 'nightly-2025-01-07' || inputs.version }} | ||
components: ${{ inputs.components }} | ||
targets: ${{ inputs.targets }} | ||
|
||
|
@@ -67,11 +68,11 @@ runs: | |
env: | ||
GITHUB_TOKEN: ${{ inputs.token }} | ||
# TODO: Unpin cargo-quickinstall once our MSRV is > 1.76 | ||
run: cargo +${{ inputs.version }} install --locked [email protected] | ||
run: cargo install --locked [email protected] | ||
|
||
- name: Install Rust tools | ||
shell: bash | ||
if: inputs.tools != '' | ||
env: | ||
GITHUB_TOKEN: ${{ inputs.token }} | ||
run: cargo +${{ inputs.version }} quickinstall $(echo ${{ inputs.tools }} | tr -d ",") | ||
run: cargo quickinstall $(echo ${{ inputs.tools }} | tr -d ",") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters