We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 944db09 commit 09dce0bCopy full SHA for 09dce0b
1 file changed
.github/workflows/ci.yml
@@ -1,5 +1,9 @@
1
name: CI
2
3
+permissions:
4
+ contents: read
5
+ checks: write
6
+
7
on:
8
push:
9
branches: [main]
@@ -17,10 +21,10 @@ jobs:
17
21
- uses: Swatinem/rust-cache@v2
18
22
- name: Format
19
23
run: cargo fmt --all --check
20
- - name: Install cargo-audit
- run: cargo install cargo-audit --version 0.22.2 --locked
24
- name: Audit dependencies
- run: cargo audit
25
+ uses: rustsec/audit-check@69366f33c96575abad1ee0dba8212993eecbe998 # v2.0.0
26
+ with:
27
+ token: ${{ secrets.GITHUB_TOKEN }}
28
- name: Clippy
29
run: cargo clippy --all-targets -- -D warnings
30
- name: Build
0 commit comments