From 14cc7a9b49af94e4dea006c2d3d90920b48a4264 Mon Sep 17 00:00:00 2001 From: Stefan Lankes Date: Wed, 20 May 2020 20:01:27 +0200 Subject: [PATCH] perform an cargo-audit for crates with security vulnerabilities --- .github/workflows/security_audit.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/security_audit.yml diff --git a/.github/workflows/security_audit.yml b/.github/workflows/security_audit.yml new file mode 100644 index 0000000000..ac71cdbfc0 --- /dev/null +++ b/.github/workflows/security_audit.yml @@ -0,0 +1,17 @@ +name: Security audit +on: + push: + paths: + - '**/Cargo.toml' + - '**/Cargo.lock' + schedule: + - cron: '0 0 * * *' + +jobs: + security_audit: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - uses: actions-rs/audit-check@v1 + with: + token: ${{ secrets.GITHUB_TOKEN }}