Skip to content

Commit

Permalink
CI: make sure to always use the latest rust-tools
Browse files Browse the repository at this point in the history
warning: tool `rust-analyzer` is already installed, remove it from `/home/runner/.cargo/bin`, then run `rustup update` to have rustup manage this tool.
  • Loading branch information
pheiduck authored and nabijaczleweli committed May 1, 2023
1 parent de03a24 commit af1f29b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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: |
Expand All @@ -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: |
Expand Down

0 comments on commit af1f29b

Please sign in to comment.