From fa33cd8ae031856d17ba73085eddd3f61920fd0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E7=82=8E=E6=B3=BC?= Date: Wed, 8 Jan 2025 12:03:32 +0800 Subject: [PATCH] CI: install cargo-audit manually --- .github/workflows/ci.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index ba8f72c30..c142ea0e6 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -369,10 +369,13 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + + - uses: actions-rs/toolchain@v1.0.6 with: components: rustfmt, clippy + - name: Format uses: actions-rs/cargo@v1 with: @@ -396,6 +399,10 @@ jobs: RUSTDOCFLAGS: "-D warnings" + - shell: bash + run: cargo install cargo-audit + + - name: Audit dependencies shell: bash # if: "!contains(github.event.head_commit.message, 'skip audit')"