Skip to content

Add a CI Workflow to Run cargo audit #1

Add a CI Workflow to Run cargo audit

Add a CI Workflow to Run cargo audit #1

Workflow file for this run

name: Cargo Audit
on:
push:
branches: [master]
pull_request:
branches: [master]
schedule:
- cron: "30 1 1,15 * *"
jobs:
cargo_audit:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
- name: Install cargo audit
run: cargo install --locked cargo-audit
- name: Run cargo audit
run: cargo audit