From edfc07d729f37b2148b7cc4a962ac756ba7c4373 Mon Sep 17 00:00:00 2001 From: Paul van Tilburg Date: Sat, 27 Jul 2024 15:14:10 +0200 Subject: [PATCH] Add audit workflow (runs on Saturdays at 0: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..7541432 --- /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 0 * * 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