mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-25 11:17:13 +00:00
Install cargo for proc-macro-srv tests
This commit is contained in:
parent
dc2096c25e
commit
2e22e945a0
4
.github/workflows/ci.yaml
vendored
4
.github/workflows/ci.yaml
vendored
@ -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"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user