From af1f29b95a3d431ca9ea3d223b398cc6e8d70201 Mon Sep 17 00:00:00 2001 From: Philip H <47042125+pheiduck@users.noreply.github.com> Date: Mon, 1 May 2023 10:29:14 +0200 Subject: [PATCH] CI: make sure to always use the latest rust-tools warning: tool `rust-analyzer` is already installed, remove it from `/home/runner/.cargo/bin`, then run `rustup update` to have rustup manage this tool. --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 491a0f3..2564434 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,7 +34,7 @@ jobs: run: sudo modprobe -v zram - name: Install Rust run: | - rm -f /home/runner/.cargo/bin/*fmt + rm -f ~/.cargo/bin/*fmt ~/.cargo/bin/rust-analyzer curl https://sh.rustup.rs -sSf | sh -s -- -y - name: Install toolchain run: | @@ -53,7 +53,7 @@ jobs: uses: actions/checkout@v3 - name: Install Rust run: | - rm -f /home/runner/.cargo/bin/*fmt + rm -f ~/.cargo/bin/*fmt ~/.cargo/bin/rust-analyzer curl https://sh.rustup.rs -sSf | sh -s -- -y - name: Install toolchain run: | @@ -70,7 +70,7 @@ jobs: uses: actions/checkout@v3 - name: Install Rust run: | - rm -f /home/runner/.cargo/bin/*fmt + rm -f ~/.cargo/bin/*fmt ~/.cargo/bin/rust-analyzer curl https://sh.rustup.rs -sSf | sh -s -- -y - name: Install toolchain run: |