Skip to content

Commit 34217bd

Browse files
author
hyd-dev
committed
Use rustup-toolchain-install-master to install Cargo
1 parent 1692932 commit 34217bd

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -77,18 +77,13 @@ jobs:
7777
rustup-toolchain-install-master \
7878
-f \
7979
-n master "$RUSTC_HASH" \
80+
-c cargo \
8081
-c rust-src \
8182
-c rustc-dev \
8283
-c llvm-tools \
8384
--host ${{ matrix.host_target }}
8485
rustup default master
8586
86-
# We need a nightly Cargo to run tests that depend on unstable Cargo features.
87-
- name: Install latest nightly
88-
uses: actions-rs/toolchain@v1
89-
with:
90-
toolchain: nightly
91-
9287
- name: Show Rust version
9388
run: |
9489
rustup show

rustup-toolchain

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ fi
3939

4040
# Install and setup new toolchain.
4141
rustup toolchain uninstall miri
42-
rustup-toolchain-install-master -n miri -c rust-src -c rustc-dev -c llvm-tools -- "$NEW_COMMIT"
42+
rustup-toolchain-install-master -n miri -c cargo -c rust-src -c rustc-dev -c llvm-tools -- "$NEW_COMMIT"
4343
rustup override set miri
4444

4545
# Cleanup.

0 commit comments

Comments
 (0)