Skip to content

Run audits only when their inputs change and Dependabot monthly #3

Run audits only when their inputs change and Dependabot monthly

Run audits only when their inputs change and Dependabot monthly #3

Workflow file for this run

---
name: Audit
"on":
pull_request:
paths:
- Cargo.lock
- "**/Cargo.toml"
- deny.toml
- .cargo/audit.toml
- .github/workflows/audit.yml
push:
branches: [main]
paths:
- Cargo.lock
- "**/Cargo.toml"
- deny.toml
- .cargo/audit.toml
- .github/workflows/audit.yml
schedule:
- cron: "0 4 * * 1"
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/main' && github.run_id || github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
jobs:
deny:
name: Dependencies of the test crates pass cargo-deny
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- run: |
rustup toolchain install stable --profile minimal
rustup default stable
- uses: taiki-e/install-action@1e29709c0ec63babbe8f266397a465f29a825f91 # v2.87.31
with:
tool: cargo-deny@0.20.2
- run: cargo deny --manifest-path smoke/Cargo.toml check
- run: cargo deny --manifest-path wasm/Cargo.toml check