Add audit workflow (runs on Saturday at 23:00)
This commit is contained in:
parent
bd31c06979
commit
127bc27028
1 changed files with 26 additions and 0 deletions
26
.forgejo/workflows/audit.yml
Normal file
26
.forgejo/workflows/audit.yml
Normal 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
|
Loading…
Reference in a new issue