File tree Expand file tree Collapse file tree 1 file changed +0
-46
lines changed Expand file tree Collapse file tree 1 file changed +0
-46
lines changed Original file line number Diff line number Diff line change 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! 👍)
You can’t perform that action at this time.
0 commit comments