CI: rework cargo audit (use maintained workflow, use cargo-deny instead of cargo-audit)

This commit is contained in:
Ilka Schulz
2026-06-07 08:45:51 +02:00
parent 86e7b50a83
commit 6ca850b18d
2 changed files with 28 additions and 8 deletions
+28
View File
@@ -0,0 +1,28 @@
# Audits the code regularly e.g. for bad dependencies and security advisories
# This Workflow is different from `qc.yml`:
# - runs regularly
# - does not work on the code itself but on its depdencies
name: Audit
on:
pull_request:
push:
paths:
- "**/Cargo.toml"
- "**/Cargo.lock"
- ".github/workflows/audit.yml"
# branches: [main]
schedule:
- cron: "0 3 * * *"
jobs:
cargo-deny:
runs-on: ubicloud-standard-2-ubuntu-2404
steps:
- uses: actions/checkout@v6
- uses: EmbarkStudios/cargo-deny-action@v2
with:
command: check
arguments: --all-features
-8
View File
@@ -64,14 +64,6 @@ jobs:
- name: Check rp.1
run: doc/check.sh doc/rp.1
cargo-audit:
runs-on: ubicloud-standard-2-ubuntu-2404
steps:
- uses: actions/checkout@v5
- uses: actions-rs/audit-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
cargo-clippy:
runs-on: ubicloud-standard-2-ubuntu-2404
steps: