Add audit workflow (runs on Saturday at 23:00)

This commit is contained in:
Paul van Tilburg 2024-07-27 15:24:16 +02:00
parent 01ee1f701d
commit 690e236a65
Signed by: paul
GPG key ID: C6DE073EDA9EEC4D

View file

@ -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