Skip to content

Security Audit

Security Audit #8

Workflow file for this run

name: Security Audit
on:
schedule:
# Run weekly on Sundays at 2:00 AM UTC
- cron: '0 2 * * 0'
workflow_dispatch: # Allow manual trigger
jobs:
audit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- name: Install cargo-audit
run: cargo install cargo-audit
- name: Run security audit
run: cargo audit
- name: Check for outdated dependencies
run: |
# Install cargo-outdated with locked dependencies to avoid version conflicts
cargo install cargo-outdated --locked || echo "cargo-outdated installation failed, skipping outdated check"
if command -v cargo-outdated >/dev/null 2>&1; then
cargo outdated --root-deps-only || echo "cargo-outdated failed, but this is non-critical"
fi