From 16ffb91cd765519d07075f901b38d85aa27b05c5 Mon Sep 17 00:00:00 2001 From: "Helmut K. C. Tessarek" Date: Sat, 23 Mar 2024 00:51:45 -0400 Subject: [PATCH] refactor(ci): replace unmaintained action --- .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 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 }}