Skip to content

Security Audit

Security Audit #36

---
name: Security Audit
"on":
schedule:
# Run daily at 00:00 UTC
- cron: "0 0 * * *"
push:
paths:
- "Cargo.toml"
- "Cargo.lock"
workflow_dispatch:
permissions:
contents: read
issues: write
jobs:
audit:
name: Security Audit
runs-on: ubuntu-latest
steps:
- name: Checkout repository
# v6.0.2
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
- name: Install Rust toolchain
# master
uses: dtolnay/rust-toolchain@efa25f7f19611383d5b0ccf2d1c8914531636bf9
with:
toolchain: stable
- name: Install cargo-audit
# v2.67.18
uses: taiki-e/install-action@d6e286fa45544157a02d45a43742857ebbc25d12
with:
tool: cargo-audit
- name: Run security audit
run: cargo audit --deny warnings