Skip to content

Commit

Permalink
Server: add automatic security auditing for PR/main.
Browse files Browse the repository at this point in the history
We can't merge it until #284 is fixed.
  • Loading branch information
tasn committed Mar 19, 2022
1 parent 8367630 commit 8cb153c
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/server-security.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Server Security

on:
push:
branches:
- main
paths:
- '**/Cargo.toml'
- '**/Cargo.lock'
pull_request:
paths:
- '**/Cargo.toml'
- '**/Cargo.lock'

jobs:
security_audit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions-rs/audit-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 8cb153c

Please sign in to comment.