From 5148da903d3f1c53532d5d62873e6a87e74dd034 Mon Sep 17 00:00:00 2001 From: Jose Quintana Date: Sat, 17 Sep 2022 22:15:59 +0200 Subject: [PATCH] feat: rust audit ci pipeline --- .github/workflows/audit.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 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..4e235cc --- /dev/null +++ b/.github/workflows/audit.yml @@ -0,0 +1,24 @@ +on: + schedule: + - cron: '10 01 * * *' # Every day at 01:10 UTC + push: + branches: + - master + paths: + - "**/Cargo.lock" + - "**/Cargo.toml" + pull_request: + branches: + - master + paths: + - "**/Cargo.lock" + - "**/Cargo.toml" + +jobs: + audit: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions-rs/audit-check@v1 + with: + token: ${{ secrets.GITHUB_TOKEN }} -- libgit2 1.7.2