From d20884281b28a3698a610b0f3d90d423bbae0b9e Mon Sep 17 00:00:00 2001 From: "Dustin J. Mitchell" Date: Sat, 3 Apr 2021 20:16:12 -0400 Subject: [PATCH] add security audit --- .github/workflows/audit.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/audit.yml diff --git a/.github/workflows/audit.yml b/.github/workflows/audit.yml new file mode 100644 index 000000000..28b5a01f2 --- /dev/null +++ b/.github/workflows/audit.yml @@ -0,0 +1,20 @@ +name: Security audit + +on: + schedule: + - cron: '0 0 0 * *' + push: + paths: + - '**/Cargo.toml' + - '**/Cargo.lock' + pull_request: + +jobs: + audit: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions-rs/audit-check@issue-104 + with: + token: ${{ secrets.GITHUB_TOKEN }} +