From 690e236a652259f750b549b1dce0b9c78fd839d0 Mon Sep 17 00:00:00 2001 From: Paul van Tilburg Date: Sat, 27 Jul 2024 15:24:16 +0200 Subject: [PATCH] Add audit workflow (runs on Saturday at 23:00) --- .forgejo/workflows/audit.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .forgejo/workflows/audit.yml diff --git a/.forgejo/workflows/audit.yml b/.forgejo/workflows/audit.yml new file mode 100644 index 0000000..081cbd1 --- /dev/null +++ b/.forgejo/workflows/audit.yml @@ -0,0 +1,26 @@ +name: "Audit dependencies" + +on: + push: + branches: + - main + paths: + - '.forgejo/workflows/audit.yml' + - '**/Cargo.toml' + - '**/Cargo.lock' + - '**/audit.toml' + schedule: + - cron: '0 23 * * 6' + workflow_dispatch: + +jobs: + audit: + runs-on: rust-latest + steps: + - name: Checkout sources + uses: actions/checkout@v3 + with: + fetch-depth: 0 + + - name: Run cargo audit + run: cargo audit