mirror of
https://codeberg.org/slatian/service.echoip-slatecave.git
synced 2025-07-17 22:43:33 +02:00
Added some basic automatic security screening using cargo audit
This commit is contained in:
26
.forgejo/workflows/cargo_audit.yaml
Normal file
26
.forgejo/workflows/cargo_audit.yaml
Normal 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
|
||||||
|
|
Reference in New Issue
Block a user