diff --git a/.github/workflows/audit.yml b/.github/workflows/audit.yml new file mode 100644 index 0000000..77706ee --- /dev/null +++ b/.github/workflows/audit.yml @@ -0,0 +1,20 @@ +name: audit + +on: + workflow_dispatch: + schedule: + - cron: "0 0 * * 1" + +jobs: + audit: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - uses: actions-rs/install@master + with: + crate: cargo-audit + + - uses: actions-rs/audit-check@v1 + with: + token: ${{ secrets.GITHUB_TOKEN }}