Skip to content

Commit e9df49b

Browse files
ci: Optimize cargo audit step using actions-rs/audit-check action
1 parent a022bad commit e9df49b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/security-checks.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- uses: actions/checkout@v4
18-
- name: Install cargo audit
19-
run: cargo install cargo-audit
20-
- name: Run Cargo Audit
21-
run: cargo audit
18+
- name: Security audit
19+
uses: actions-rs/audit-check@v1
20+
with:
21+
token: ${{ secrets.GITHUB_TOKEN }}
2222
continue-on-error: true

0 commit comments

Comments
 (0)