summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOrhun Parmaksız <orhunparmaksiz@gmail.com>2021-10-30 23:02:54 +0300
committerOrhun Parmaksız <orhunparmaksiz@gmail.com>2021-10-30 23:02:54 +0300
commit94841e32fa77a8f0d7cd6e9a943f84b9857dba41 (patch)
tree9d1f593a2d64762f917a432e615d80d01a89914a
parentc8a1c29a43123779f4a518068cf54473ae8f851e (diff)
chore: Add security audit workflow
-rw-r--r--.github/workflows/audit.yml17
1 files changed, 17 insertions, 0 deletions
diff --git a/.github/workflows/audit.yml b/.github/workflows/audit.yml
new file mode 100644
index 0000000..45f7546
--- /dev/null
+++ b/.github/workflows/audit.yml
@@ -0,0 +1,17 @@
+name: Security Audit
+
+on:
+ schedule:
+ - cron: "0 0 * * 0"
+
+jobs:
+ audit:
+ name: Audit
+ runs-on: ubuntu-20.04
+ steps:
+ - name: Checkout the repository
+ uses: actions/checkout@master
+ - name: Run cargo-audit
+ uses: actions-rs/audit-check@v1
+ with:
+ token: ${{ secrets.GITHUB_TOKEN }}