From d9472c6a4243c586007f69722a566d8b3618737d Mon Sep 17 00:00:00 2001 From: ClementTsang Date: Sat, 31 Oct 2020 20:40:50 -0400 Subject: github: Add cargo-audit cron job --- .github/workflows/audit.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/audit.yml (limited to '.github') diff --git a/.github/workflows/audit.yml b/.github/workflows/audit.yml new file mode 100644 index 00000000..692a21b2 --- /dev/null +++ b/.github/workflows/audit.yml @@ -0,0 +1,15 @@ +name: cargo-audit check +on: + schedule: + - cron: "0 0 * * *" +jobs: + audit: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions-rs/install@master + with: + crate: cargo-audit + - uses: actions-rs/audit-check@v1 + with: + token: ${{ secrets.GITHUB_TOKEN }} -- cgit v1.2.3