From ce963ab4399e7bba3727c9bdcd40724bcdc7fa61 Mon Sep 17 00:00:00 2001 From: Sebastien Iooss Date: Thu, 11 Jan 2024 10:55:51 +0100 Subject: [PATCH] ci: chagne cargo audit provider --- .github/workflows/audit.yml | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/.github/workflows/audit.yml b/.github/workflows/audit.yml index 63cf181..be62bb5 100644 --- a/.github/workflows/audit.yml +++ b/.github/workflows/audit.yml @@ -9,13 +9,6 @@ on: workflow_dispatch: jobs: - security_audit: # TODO remove this version ? - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: taiki-e/install-action@cargo-deny - - name: Scan for vulnerabilities - run: cargo deny check advisories cargo-deny: runs-on: ubuntu-latest steps: @@ -23,8 +16,8 @@ jobs: - uses: EmbarkStudios/cargo-deny-action@v1 cargo-audit: runs-on: ubuntu-latest + permissions: + issues: write steps: - uses: actions/checkout@v3 - - uses: actions-rs/audit-check@v1 - with: - token: ${{ secrets.GITHUB_TOKEN }} + - uses: actions-rust-lang/audit@v1