Skip to content

Commit

Permalink
Install cargo-udeps with --locked due to rust-lang/cargo#9919
Browse files Browse the repository at this point in the history
  • Loading branch information
qryxip committed Sep 20, 2021
1 parent d1ba9ca commit 99ac90c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,10 +128,11 @@ jobs:
key: cargo-udeps-build-${{ steps.install-nightly.outputs.rustc_hash }}-${{ hashFiles('./Cargo.*') }}

- name: Install cargo-udeps v${{ steps.resolve-versions.outputs.cargo-udeps }}
uses: actions-rs/[email protected]
uses: actions-rs/cargo@v1
with:
crate: cargo-udeps
version: ${{ steps.resolve-versions.outputs.cargo-udeps }}
command: install
args: cargo-udeps --version '=${{ steps.resolve-versions.outputs.cargo-udeps }}' --locked
toolchain: stable

- name: cargo-udeps
uses: actions-rs/cargo@v1
Expand Down

0 comments on commit 99ac90c

Please sign in to comment.