From 7ca1da8349853ba52f550d73fa4e919e34a89e77 Mon Sep 17 00:00:00 2001 From: Dreaded_X Date: Wed, 26 Aug 2026 05:06:01 +0200 Subject: [PATCH] chore: Added audit workflow --- .gitea/workflows/audit.yaml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .gitea/workflows/audit.yaml diff --git a/.gitea/workflows/audit.yaml b/.gitea/workflows/audit.yaml new file mode 100644 index 0000000..697003d --- /dev/null +++ b/.gitea/workflows/audit.yaml @@ -0,0 +1,28 @@ +name: Audit + +on: + push: + paths: + - "**/Cargo.toml" + - "**/Cargo.lock" + schedule: + - cron: "0 0 * * *" + workflow_dispatch: + +jobs: + audit: + name: cargo audit + runs-on: ubuntu-latest + permissions: + issues: write + steps: + - name: Checkout + uses: actions/checkout@v6 + - name: Install rust toolchain + uses: dtolnay/rust-toolchain@nightly + - name: Setup rust cache + uses: Swatinem/rust-cache@v2 + - name: Audit check + uses: https://git.huizinga.dev/infra/rust-audit-check@v3.0.0 + with: + token: ${{ secrets.GITEA_TOKEN }}