Skip to content

Commit 2c4456c

Browse files
committed
ci: remove cargo-audit
This is already taken care of by dependabot Signed-off-by: Alexis Asseman <[email protected]>
1 parent 5f918d9 commit 2c4456c

File tree

1 file changed

+0
-46
lines changed

1 file changed

+0
-46
lines changed

.github/workflows/tests.yml

Lines changed: 0 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -69,49 +69,3 @@ jobs:
6969
uses: coverallsapp/[email protected]
7070
with:
7171
file: ./lcov.info
72-
73-
audit:
74-
name: Cargo Audit
75-
runs-on: ubuntu-latest
76-
permissions:
77-
actions: read
78-
contents: write
79-
pull-requests: write
80-
container:
81-
image: rust:1.74-bookworm
82-
steps:
83-
- uses: actions/checkout@v3
84-
- uses: actions/cache@v3
85-
with:
86-
path: |
87-
~/.cargo/bin/
88-
~/.cargo/registry/index/
89-
~/.cargo/registry/cache/
90-
~/.cargo/git/db/
91-
target/
92-
key: ${{ runner.os }}-cargo-audit
93-
- name: Install Cargo Audit
94-
run: |
95-
cargo install cargo-audit
96-
97-
- name: Generate Cargo Audit Report
98-
id: report
99-
run: |
100-
cargo audit --quiet | tee report.xml
101-
body="$(cat report.xml)"
102-
delimiter="$(openssl rand -hex 8)"
103-
echo "body<<$delimiter" >> $GITHUB_OUTPUT
104-
echo "$body" >> $GITHUB_OUTPUT
105-
echo "$delimiter" >> $GITHUB_OUTPUT
106-
107-
- name: Comment report
108-
uses: marocchino/sticky-pull-request-comment@v2
109-
with:
110-
hide_and_recreate: true
111-
hide_classify: "OUTDATED"
112-
message: |
113-
<b>🤖 Cargo Audit Report 🤖</b>
114-
115-
${{ steps.report.outputs.body }}
116-
117-
(Empty means OK! 👍)

0 commit comments

Comments
 (0)