Skip to content

Commit 03e2f8b

Browse files
ericdallobrotzeit
authored andcommitted
Fix path to rust_analyzer
1 parent 297f657 commit 03e2f8b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,16 +38,16 @@ jobs:
3838
profile: minimal
3939
toolchain: stable
4040
override: true
41-
components: rls, rust-analysis
41+
components: rust-src
4242

4343
- name: Install Rust Analyzer
4444
env:
4545
RUST_ANALYZER_VERSION: 2020-04-20
4646
run: |
47-
mkdir -p $GITHUB_WORKSPACE/bin
48-
wget https://github.com/rust-analyzer/rust-analyzer/releases/download/$RUST_ANALYZER_VERSION/rust-analyzer-linux -O $GITHUB_WORKSPACE/bin/rust-analyzer
49-
chmod +x $GITHUB_WORKSPACE/bin/rust-analyzer
50-
export PATH="$PATH:$GITHUB_WORKSPACE/bin"
47+
mkdir -p $HOME/bin
48+
wget https://github.com/rust-analyzer/rust-analyzer/releases/download/$RUST_ANALYZER_VERSION/rust-analyzer-linux -O $HOME/bin/rust-analyzer
49+
chmod +x $HOME/bin/rust-analyzer
50+
echo "::add-path::$HOME/bin"
5151
5252
- name: Run tests
5353
run: 'make ci'

0 commit comments

Comments
 (0)