Skip to content

Commit

Permalink
Use the steps from rust analyze document for installation
Browse files Browse the repository at this point in the history
  • Loading branch information
yegappan committed Feb 9, 2024
1 parent 33c5c71 commit bc2f5c0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/unitests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ jobs:
sudo apt install -y golang
sudo apt install -y gopls
# install the rust language server
sudo rustup component add rust-analyzer
mkdir -p ~/.local/bin
curl -L https://github.com/rust-lang/rust-analyzer/releases/latest/download/rust-analyzer-x86_64-unknown-linux-gnu.gz | gunzip -c - > ~/.local/bin/rust-analyzer
chmod +x ~/.local/bin/rust-analyzer
- name: Setup Vim
uses: rhysd/action-setup-vim@v1
id: vim
Expand All @@ -36,7 +38,7 @@ jobs:
- name: Run Tests
run: |
uname -a
rust-analyzer --version
~/.local/bin/rust-analyzer --version
export VIMPRG=${{ steps.vim.outputs.executable }}
$VIMPRG --version
cd test
Expand Down

0 comments on commit bc2f5c0

Please sign in to comment.