refactor(ci): replace unmaintained action (#266)

This commit is contained in:
Helmut K. C. Tessarek 2024-03-23 06:47:23 -04:00 committed by GitHub
parent db24d911f6
commit b2acb71d0d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 8 deletions

View File

@ -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 }}