From 127b122f762ac6e260cb94823d9c2d53d416913e Mon Sep 17 00:00:00 2001 From: Alice Ryhl Date: Wed, 23 Oct 2024 12:54:23 +0200 Subject: [PATCH] update pr-audit too --- .github/workflows/audit.yml | 4 ++-- .github/workflows/pr-audit.yml | 15 +++------------ 2 files changed, 5 insertions(+), 14 deletions(-) diff --git a/.github/workflows/audit.yml b/.github/workflows/audit.yml index 3944195077a..ba582413344 100644 --- a/.github/workflows/audit.yml +++ b/.github/workflows/audit.yml @@ -20,5 +20,5 @@ jobs: issues: write runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: EmbarkStudios/cargo-deny-action@v1 + - uses: actions/checkout@v4 + - uses: EmbarkStudios/cargo-deny-action@v2 diff --git a/.github/workflows/pr-audit.yml b/.github/workflows/pr-audit.yml index ce2e81cda43..e6543964c9e 100644 --- a/.github/workflows/pr-audit.yml +++ b/.github/workflows/pr-audit.yml @@ -16,17 +16,8 @@ permissions: contents: read jobs: - security-audit: + cargo-deny: runs-on: ubuntu-latest - if: "!contains(github.event.head_commit.message, 'ci skip')" steps: - - uses: actions/checkout@v4 - - - name: Install cargo-audit - run: cargo install cargo-audit - - - name: Generate lockfile - run: cargo generate-lockfile - - - name: Audit dependencies - run: cargo audit + - uses: actions/checkout@v4 + - uses: EmbarkStudios/cargo-deny-action@v2