From 997aa62588fab22b6acf8952ebd235fda164d2d2 Mon Sep 17 00:00:00 2001 From: Aydin Mercan Date: Sat, 3 Sep 2022 22:38:39 +0300 Subject: [PATCH] ci/github-actions: add audit * For now auditing should be done daily and on each push to main. * I have used rustsec's fork because it is more featureful and it has some fixes done. Hopefully it should just work. --- .github/workflows/audit.yml | 17 +++++++++++++++++ 1 file changed, 17 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 0000000..4c6a1b3 --- /dev/null +++ b/.github/workflows/audit.yml @@ -0,0 +1,17 @@ +name: Audit for RUSTSEC advisories + +on: + push: + branches: main + schedule: + - cron: '0 0 * * *' + +jobs: + audit: + runs-on: ubuntu-latest + steps: + - uses: action/checkout@v1 + - uses: rustsec/audit-check@v1 + with: + token: ${{ secrets.GITHUB_TOKEN }} +