Skip to content

Security audit - daily #264

Security audit - daily

Security audit - daily #264

Workflow file for this run

---
name: Security audit - daily
'on':
push:
paths:
# Run if workflow changes
- '.github/workflows/audit.yml'
# Run on changed dependencies
- '**/Cargo.toml'
- '**/Cargo.lock'
# Run if the configuration file changes
- '**/audit.toml'
# Rerun periodicly to pick up new advisories
schedule:
- cron: '43 05 * * *'
# Run manually
workflow_dispatch:
env:
toolchain: nightly-2022-11-03
jobs:
security_audit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: "true"
- name: toolchain
uses: dtolnay/rust-toolchain@nightly
with:
toolchain: ${{ env.toolchain }}
components: rustfmt, clippy
- name: cargo check
run: |
cargo check
- uses: rustsec/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}