Install Rust and cargo-udeps
@@ -45,6 +45,25 @@ jobs:
- name: Install dependencies (Nim)
run: sudo apt install nim
+ - name: Set up Rust (1.42.0)
+ uses: actions-rs/toolchain@v1
+ with:
+ toolchain: 1.42.0-x86_64-unknown-linux-gnu
+ default: true
+ profile: minimal
+
+ - name: Set up Rust (nightly)
+ uses: actions-rs/toolchain@v1
+ with:
+ toolchain: nightly-x86_64-unknown-linux-gnu
+ default: true
+ profile: minimal
+
+ - name: Install cargo-udeps for Rust
+ uses: actions-rs/install@v0.1
+ with:
+ crate: cargo-udeps
+ use-tool-cache: true
- name: Run tests
env:
