feat: cli #32
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Security audit | |
on: | |
schedule: | |
- cron: "0 0 * * *" | |
push: | |
paths: | |
- "**/Cargo.toml" | |
- "**/Cargo.lock" | |
jobs: | |
audit: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.event.pull_request.head.ref }} | |
fetch-depth: 0 | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- name: Register Problem Matchers | |
uses: r7kamura/rust-problem-matchers@v1 | |
- run: rustup toolchain install stable --profile minimal | |
- name: Cache Cargo | |
uses: Swatinem/rust-cache@v2 | |
- name: Setup Rust | |
uses: dtolnay/rust-toolchain@stable | |
- name: Install Cargo Make | |
uses: davidB/rust-cargo-make@v1 | |
- name: Run security audit | |
run: cargo make audit |