Added some basic automatic security screening using cargo audit

This commit is contained in:
Slatian
2025-03-28 23:02:28 +01:00
parent d5c5d30d32
commit 03685b1bde

View File

@ -0,0 +1,26 @@
---
name: Cargo Audit
on:
push:
paths:
- 'Cargo.toml'
- 'Cargo.lock'
schedule:
# Frinday evening 18:20
- cron: 20 18 0 0 5
workflow_dispatch:
env:
CARGO_TERM_COLOR: always
jobs:
audit:
name: Audit
runs-on: docker
container:
image: codeberg.org/unobtanium/unobtanium-ci-builder:latest
steps:
- uses: https://codeberg.org/slatian/shell-ci-checkout@v1
- run: cargo audit