workflows(ci): use dtolnay's rust-toolchain to install stable Rust

This commit is contained in:
Riccardo Mazzarini 2024-06-17 13:59:21 +08:00
parent fe90d0e9b6
commit c989c6262f
No known key found for this signature in database
GPG key ID: 38165222613796F5

View file

@ -35,10 +35,7 @@ jobs:
neovim: true
version: ${{ matrix.neovim }}
- name: Install latest stable `rustc`
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
uses: dtolnay/rust-toolchain@stable
- name: Run unit tests
run: cargo test ${{ matrix.features }}
working-directory: .