summaryrefslogtreecommitdiff
path: root/.github/workflows/security.yml
diff options
context:
space:
mode:
authorNadrieril2020-12-18 20:24:04 +0000
committerGitHub2020-12-18 20:24:04 +0000
commit66f79507ae5877d23ddd376b0b5cc7af5f2347bc (patch)
treee07ea03282ba93da3de8b678bb2e17f62dbe3c30 /.github/workflows/security.yml
parent970a68e13628ef5fc11be598a56b80020f0522e8 (diff)
parent4ba0b8f7be9f6f2d89121a757cdc391be384e6ea (diff)
Merge pull request #205 from Nadrieril/audits
Enable automatic audit checks in CI
Diffstat (limited to '.github/workflows/security.yml')
-rw-r--r--.github/workflows/security.yml16
1 files changed, 16 insertions, 0 deletions
diff --git a/.github/workflows/security.yml b/.github/workflows/security.yml
new file mode 100644
index 0000000..da303c6
--- /dev/null
+++ b/.github/workflows/security.yml
@@ -0,0 +1,16 @@
+name: Security audit
+on:
+ schedule:
+ - cron: '0 0 * * *'
+ push:
+ 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 }}