Skip to content

Commit

Permalink
ci: remove cargo-audit
Browse files Browse the repository at this point in the history
This is already taken care of by dependabot

Signed-off-by: Alexis Asseman <alexis@semiotic.ai>
  • Loading branch information
aasseman committed Jun 27, 2024
1 parent 5f918d9 commit 2c4456c
Showing 1 changed file with 0 additions and 46 deletions.
46 changes: 0 additions & 46 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
<b>🤖 Cargo Audit Report 🤖</b>
${{ steps.report.outputs.body }}
(Empty means OK! 👍)

0 comments on commit 2c4456c

Please sign in to comment.