Skip to content

Commit

Permalink
CI: Update versions of cargo-audit and cargo-deny.
Browse files Browse the repository at this point in the history
  • Loading branch information
briansmith committed Dec 6, 2023
1 parent 2be687b commit 2af8e55
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,9 @@ jobs:
~/.cargo/bin/cargo-audit
~/.cargo/.crates.toml
~/.cargo/.crates2.json
key: ${{ runner.os }}-v2-cargo-audit-0.17.4
key: ${{ runner.os }}-v2-cargo-audit-locked-0.18.3

# With `--locked` `cargo install` complains about using yanked crates.
- run: cargo install cargo-audit --vers "0.17.4"
- run: cargo install cargo-audit --locked --vers "0.18.3"

- uses: briansmith/actions-checkout@v4
with:
Expand All @@ -78,9 +77,9 @@ jobs:
~/.cargo/bin/cargo-deny
~/.cargo/.crates.toml
~/.cargo/.crates2.json
key: ${{ runner.os }}-v2-cargo-deny-locked-0.9.1
key: ${{ runner.os }}-v2-cargo-deny-locked-0.14.3

- run: cargo install cargo-deny --locked --vers "0.9.1"
- run: cargo install cargo-deny --locked --vers "0.14.3"

- uses: briansmith/actions-checkout@v4
with:
Expand Down

0 comments on commit 2af8e55

Please sign in to comment.