Skip to content

Commit bd2a870

Browse files
authored
Merge pull request #14 from async-profiler/cargo-audit
ci: cargo audit on CI
2 parents 88573e2 + b13ce36 commit bd2a870

File tree

2 files changed

+119
-65
lines changed

2 files changed

+119
-65
lines changed

.github/workflows/audit.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Security audit
2+
on:
3+
push:
4+
paths:
5+
- '**/Cargo.toml'
6+
- '**/Cargo.lock'
7+
schedule:
8+
- cron: "0 0 * * *"
9+
workflow_dispatch:
10+
jobs:
11+
security_audit:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v4
15+
- uses: rustsec/[email protected]
16+
with:
17+
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)