name: Security Audit
on:
  push:
    paths:
      - Cargo.lock
  pull_request:
    paths:
      - Cargo.lock
jobs:
  audit:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v6
      - uses: rustsec/audit-check@v2
        with:
          token: ${{ secrets.GITHUB_TOKEN }}
