add cargo-audit

This commit is contained in:
creating2morrow 2023-05-06 00:34:30 -04:00
parent 431cba5405
commit 980909d1f1

26
.github/workflows/audit.yml vendored Normal file
View file

@ -0,0 +1,26 @@
name: Audit
on:
push:
paths-ignore:
- 'docs/**'
- 'scripts/**'
- 'README.md'
branches: [ "dev" ]
pull_request:
branches: [ "dev" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: sudo apt install -y libssl-dev build-essential libgpgme-dev
- name: Audit
run: cargo install cargo-audit && cargo audit