diff --git a/.github/workflows/unitests.yml b/.github/workflows/unitests.yml index d9546432..245157ee 100644 --- a/.github/workflows/unitests.yml +++ b/.github/workflows/unitests.yml @@ -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 @@ -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