From b2acb71d0d35944905c9bd47ec83b4d430c683bf Mon Sep 17 00:00:00 2001 From: "Helmut K. C. Tessarek" Date: Sat, 23 Mar 2024 06:47:23 -0400 Subject: [PATCH] refactor(ci): replace unmaintained action (#266) --- .github/workflows/audit.yml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/audit.yml b/.github/workflows/audit.yml index d7f2118..b678de7 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 }}