diff --git a/.github/workflows/audit.yml b/.github/workflows/audit.yml index d7f21184..b678de7a 100644 --- a/.github/workflows/audit.yml +++ b/.github/workflows/audit.yml @@ -7,17 +7,11 @@ on: jobs: audit: name: Audit - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest steps: - name: Checkout the repository uses: actions/checkout@v4 - - name: Install Rust - uses: actions-rs/toolchain@v1 - with: - toolchain: stable - profile: minimal - override: true - name: Run cargo-audit - uses: actions-rs/audit-check@v1 + uses: rustsec/audit-check@v1.4.1 with: token: ${{ secrets.GITHUB_TOKEN }}