Unnamed repository; edit this file 'description' to name the repository.
Install cargo for proc-macro-srv tests
Laurențiu Nicola 7 months ago
parent dc2096c · commit 2e22e94
-rw-r--r--.github/workflows/ci.yaml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index e87ece5b65..0eb57a605f 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -56,8 +56,8 @@ jobs:
# Install a pinned rustc commit to avoid surprises
- name: Install Rust toolchain
run: |
- RUSTC_VERSION=`cat rust-version`
- rustup-toolchain-install-master ${RUSTC_VERSION} -c rust-src -c rustfmt
+ RUSTC_VERSION=$(cat rust-version)
+ rustup-toolchain-install-master ${RUSTC_VERSION} -c cargo -c rust-src -c rustfmt
rustup default ${RUSTC_VERSION}
# Emulate a nightly toolchain, because the toolchain installed above does not have "nightly"