diff --git a/.gitea/workflows/audit.yaml b/.gitea/workflows/audit.yaml new file mode 100644 index 0000000..ab8a2bc --- /dev/null +++ b/.gitea/workflows/audit.yaml @@ -0,0 +1,19 @@ +name: Security audit +on: + push: + paths: + - "**/Cargo.toml" + - "**/Cargo.lock" + schedule: + - cron: "0 0 * * *" + workflow_dispatch: + +jobs: + security_audit: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v6 + - uses: dtolnay/rust-toolchain@stable + - uses: rustsec/audit-check@v2.0.0 + with: + token: ${{ secrets.GH_TOKEN }}