Skip to content

Commit e516d8b

Browse files
tasnDaniel Lyne
authored and
Daniel Lyne
committed
Server: add automatic security auditing for PR/main.
We can't merge it until #284 is fixed.
1 parent 25ff291 commit e516d8b

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/server-security.yml

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Server Security
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
paths:
8+
- '**/Cargo.toml'
9+
- '**/Cargo.lock'
10+
pull_request:
11+
paths:
12+
- '**/Cargo.toml'
13+
- '**/Cargo.lock'
14+
15+
jobs:
16+
security_audit:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- uses: actions/checkout@v1
20+
- uses: actions-rs/audit-check@v1
21+
with:
22+
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)