2022-06-09 07:54:20 -07:00
|
|
|
name: Audits
|
|
|
|
|
|
|
|
on: [push, pull_request]
|
|
|
|
|
2022-06-26 17:59:00 -07:00
|
|
|
permissions:
|
|
|
|
contents: read
|
|
|
|
|
2022-06-09 07:54:20 -07:00
|
|
|
jobs:
|
|
|
|
cargo-vet:
|
|
|
|
name: Vet Rust dependencies
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
|
|
|
|
- uses: actions-rs/toolchain@v1
|
|
|
|
with:
|
|
|
|
toolchain: stable
|
|
|
|
override: true
|
|
|
|
|
|
|
|
- name: Install cargo-vet
|
|
|
|
uses: actions-rs/cargo@v1
|
|
|
|
with:
|
|
|
|
command: install
|
2022-08-17 01:19:59 -07:00
|
|
|
args: cargo-vet
|
2022-06-09 07:54:20 -07:00
|
|
|
|
|
|
|
- name: Run cargo vet --locked
|
|
|
|
uses: actions-rs/cargo@v1
|
|
|
|
with:
|
|
|
|
command: vet
|
|
|
|
args: --locked
|