From 2c4456c529709142738b2227c6ff7f225c54c686 Mon Sep 17 00:00:00 2001 From: Alexis Asseman Date: Wed, 26 Jun 2024 18:39:05 -0700 Subject: [PATCH] ci: remove cargo-audit This is already taken care of by dependabot Signed-off-by: Alexis Asseman --- .github/workflows/tests.yml | 46 ------------------------------------- 1 file changed, 46 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 267f62c4..2406088c 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -69,49 +69,3 @@ jobs: uses: coverallsapp/github-action@v2.2.0 with: file: ./lcov.info - - audit: - name: Cargo Audit - runs-on: ubuntu-latest - permissions: - actions: read - contents: write - pull-requests: write - container: - image: rust:1.74-bookworm - steps: - - uses: actions/checkout@v3 - - uses: actions/cache@v3 - with: - path: | - ~/.cargo/bin/ - ~/.cargo/registry/index/ - ~/.cargo/registry/cache/ - ~/.cargo/git/db/ - target/ - key: ${{ runner.os }}-cargo-audit - - name: Install Cargo Audit - run: | - cargo install cargo-audit - - - name: Generate Cargo Audit Report - id: report - run: | - cargo audit --quiet | tee report.xml - body="$(cat report.xml)" - delimiter="$(openssl rand -hex 8)" - echo "body<<$delimiter" >> $GITHUB_OUTPUT - echo "$body" >> $GITHUB_OUTPUT - echo "$delimiter" >> $GITHUB_OUTPUT - - - name: Comment report - uses: marocchino/sticky-pull-request-comment@v2 - with: - hide_and_recreate: true - hide_classify: "OUTDATED" - message: | - 🤖 Cargo Audit Report 🤖 - - ${{ steps.report.outputs.body }} - - (Empty means OK! 👍)