veer 0.1.2

Inertia.js v3 server-side protocol superset for Rust
Documentation
name: security-audit
on:
  push:
    branches: [main]
    paths:
      - "**/Cargo.toml"
      - "**/Cargo.lock"
      - ".github/workflows/security-audit.yml"
  pull_request:
    paths:
      - "**/Cargo.toml"
      - "**/Cargo.lock"
      - ".github/workflows/security-audit.yml"
  schedule:
    # Daily at 06:00 UTC — catches advisories filed against pinned deps.
    - cron: "0 6 * * *"
  workflow_dispatch:

permissions:
  contents: read

jobs:
  audit:
    name: cargo audit
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: dtolnay/rust-toolchain@stable
      - uses: Swatinem/rust-cache@v2
      - name: Install cargo-audit
        run: cargo install --locked cargo-audit
      - name: Generate Cargo.lock
        # Cargo.lock is gitignored (library crate); generate a fresh one
        # against current Cargo.toml resolution before auditing.
        run: cargo generate-lockfile
      - name: Run cargo audit
        run: cargo audit --deny warnings