From a6c546f910ab71148d2a323ffd7173a8c05d0950 Mon Sep 17 00:00:00 2001 From: Matt Wrock Date: Tue, 17 Dec 2024 07:30:34 -0800 Subject: [PATCH 1/2] remove commented code from audit action Signed-off-by: Matt Wrock --- .github/workflows/rust-cargo-audit-check.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/rust-cargo-audit-check.yml b/.github/workflows/rust-cargo-audit-check.yml index 0cf6351ed6..bf80ba0020 100644 --- a/.github/workflows/rust-cargo-audit-check.yml +++ b/.github/workflows/rust-cargo-audit-check.yml @@ -15,6 +15,3 @@ jobs: - uses: ClementTsang/cargo-action@v0.0.6 with: command: audit -# - uses: actions-rs/audit-check@v1 -# with: -# token: ${{ secrets.GITHUB_TOKEN }} From 869290646ea4cca45769bb1a16b118f7bec4a073 Mon Sep 17 00:00:00 2001 From: Matt Wrock Date: Tue, 17 Dec 2024 08:03:46 -0800 Subject: [PATCH 2/2] force audit to use specified rust version Signed-off-by: Matt Wrock --- .github/workflows/rust-cargo-audit-check.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/rust-cargo-audit-check.yml b/.github/workflows/rust-cargo-audit-check.yml index bf80ba0020..6f3c11ed80 100644 --- a/.github/workflows/rust-cargo-audit-check.yml +++ b/.github/workflows/rust-cargo-audit-check.yml @@ -8,6 +8,8 @@ jobs: steps: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@1.81.0 + id: toolchain + - run: rustup override set ${{steps.toolchain.outputs.name}} - uses: ClementTsang/cargo-action@v0.0.6 with: command: install