diff options
| author | Linus Färnstrand <linus@mullvad.net> | 2024-01-16 14:17:17 +0100 |
|---|---|---|
| committer | Linus Färnstrand <linus@mullvad.net> | 2025-02-04 14:22:57 +0100 |
| commit | 4114246c35ddf7e30160bed6e8e67c6ae36f885f (patch) | |
| tree | 93aed69c8adcd617f89a028882732f9b12cfce95 /.github/workflows | |
| parent | 255e428a59fe8e18b8dfc009feea9d78db9321ad (diff) | |
| download | mullvadvpn-4114246c35ddf7e30160bed6e8e67c6ae36f885f.tar.xz mullvadvpn-4114246c35ddf7e30160bed6e8e67c6ae36f885f.zip | |
Force udeps CI to use nightly
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/rust-unused-dependencies.yml | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/.github/workflows/rust-unused-dependencies.yml b/.github/workflows/rust-unused-dependencies.yml index eba2735f9c..bd6057caab 100644 --- a/.github/workflows/rust-unused-dependencies.yml +++ b/.github/workflows/rust-unused-dependencies.yml @@ -81,17 +81,19 @@ jobs: git config --global --add safe.directory '*' git submodule update --init --recursive --depth=1 wireguard-go-rs - - name: Install nightly Rust toolchain - run: | - rustup default $RUST_NIGHTLY_TOOLCHAIN - rustup target add aarch64-linux-android + - name: Install nightly Rust + uses: actions-rs/toolchain@v1.0.6 + with: + toolchain: ${{ env.RUST_NIGHTLY_TOOLCHAIN }} + profile: minimal + target: aarch64-linux-android - uses: taiki-e/install-action@v2 with: tool: cargo-udeps - name: Check for unused dependencies - run: cargo udeps --target aarch64-linux-android --package mullvad-jni + run: cargo +${{ env.RUST_NIGHTLY_TOOLCHAIN }} udeps --target aarch64-linux-android --package mullvad-jni cargo-udeps: strategy: @@ -123,11 +125,10 @@ jobs: with: repo-token: ${{ secrets.GITHUB_TOKEN }} - - name: Install Rust + - name: Install nightly Rust uses: actions-rs/toolchain@v1.0.6 with: toolchain: ${{ env.RUST_NIGHTLY_TOOLCHAIN }} - default: true profile: minimal - uses: taiki-e/install-action@v2 @@ -142,4 +143,4 @@ jobs: - name: Check for unused dependencies shell: bash - run: cargo udeps --workspace + run: cargo +${{ env.RUST_NIGHTLY_TOOLCHAIN }} udeps --workspace |
