diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2aca3e7..23ef31f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -108,7 +108,9 @@ jobs: - shell: bash - run: cargo install cargo-audit + # `--locked`: the latest dependencies of cargo-audit can need a newer rustc than the one + # pinned by `rust-toolchain.toml`. + run: cargo install cargo-audit --locked - name: Audit dependencies