Install cargo for proc-macro-srv tests

This commit is contained in:
Laurențiu Nicola 2025-09-25 10:54:58 +03:00
parent dc2096c25e
commit 2e22e945a0

View File

@ -56,8 +56,8 @@ jobs:
# Install a pinned rustc commit to avoid surprises # Install a pinned rustc commit to avoid surprises
- name: Install Rust toolchain - name: Install Rust toolchain
run: | run: |
RUSTC_VERSION=`cat rust-version` RUSTC_VERSION=$(cat rust-version)
rustup-toolchain-install-master ${RUSTC_VERSION} -c rust-src -c rustfmt rustup-toolchain-install-master ${RUSTC_VERSION} -c cargo -c rust-src -c rustfmt
rustup default ${RUSTC_VERSION} rustup default ${RUSTC_VERSION}
# Emulate a nightly toolchain, because the toolchain installed above does not have "nightly" # Emulate a nightly toolchain, because the toolchain installed above does not have "nightly"