diff --git a/.github/workflows/rust-cargo-audit-check.yml b/.github/workflows/rust-cargo-audit-check.yml index 0cf6351ed6..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 @@ -15,6 +17,3 @@ jobs: - uses: ClementTsang/cargo-action@v0.0.6 with: command: audit -# - uses: actions-rs/audit-check@v1 -# with: -# token: ${{ secrets.GITHUB_TOKEN }}