ci: add github action

Aydin Mercan 2022-02-08 14:04:09 +03:00
parent 64506ae78c
commit 0fde0686a2
No known key found for this signature in database
1 changed files with 22 additions and 0 deletions

22
.github/workflows/audit.yml vendored Normal file
View File

@ -0,0 +1,22 @@
name: audit
on:
schedule:
- cron: '0 0 * * *'
push:
paths:
- '**/Cargo.toml'
- '**/Cargo.lock'
env:
CARGO_INCREMENTAL: 0
RUSTFLAGS: -D warnings
jobs:
cargo_audit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions-rs/audit-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}