aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/audit.yaml12
-rw-r--r--.github/workflows/properties/audit.properties.json6
2 files changed, 18 insertions, 0 deletions
diff --git a/.github/workflows/audit.yaml b/.github/workflows/audit.yaml
new file mode 100644
index 00000000..abf0898b
--- /dev/null
+++ b/.github/workflows/audit.yaml
@@ -0,0 +1,12 @@
+name: Security audit
+on:
+ schedule:
+ - cron: '0 0 * * *'
+jobs:
+ audit:
+ runs-on: ubuntu-20.04
+ steps:
+ - uses: actions/checkout@v1
+ - uses: actions-rs/audit-check@v1
+ with:
+ token: ${{ secrets.GITHUB_TOKEN }}
diff --git a/.github/workflows/properties/audit.properties.json b/.github/workflows/properties/audit.properties.json
new file mode 100644
index 00000000..fd3a8488
--- /dev/null
+++ b/.github/workflows/properties/audit.properties.json
@@ -0,0 +1,6 @@
+{
+ "name": "Audit",
+ "description": "Cargo audit",
+ "iconName": "rust",
+ "categories": ["Rust"]
+}