mirror of
https://github.com/rosenpass/rosenpass.git
synced 2026-06-12 11:01:19 -07:00
CI: rework cargo audit (use maintained workflow, use cargo-deny instead of cargo-audit)
This commit is contained in:
@@ -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
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user