2022-04-08 10:43:14 -07:00
|
|
|
name: Cargo Audit
|
2022-02-28 03:58:39 -08:00
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: master
|
|
|
|
pull_request:
|
|
|
|
|
|
|
|
jobs:
|
2022-04-08 10:43:14 -07:00
|
|
|
cargo-audit:
|
|
|
|
name: Cargo Audit
|
2022-02-28 03:58:39 -08:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
2022-04-08 10:43:14 -07:00
|
|
|
|
2022-02-28 03:58:39 -08:00
|
|
|
- name: Install Cargo Audit
|
|
|
|
uses: actions-rs/install@v0.1
|
|
|
|
with:
|
|
|
|
crate: cargo-audit
|
|
|
|
version: latest
|
|
|
|
|
2022-04-08 10:43:14 -07:00
|
|
|
# Run cargo audit using args from .cargo/audit.toml
|
2022-02-28 03:58:39 -08:00
|
|
|
- name: Run Cargo Audit
|
|
|
|
run: cargo audit -c always
|