# install the rust language server
sudo apt install -y cargo rust-src
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
+ # Use version v0.3.2011 as the later versions fail the tests
+ curl -L https://github.com/rust-lang/rust-analyzer/releases/download/2024-06-24/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