neveko/.github/workflows/audit.yml

27 lines
483 B
YAML
Raw Normal View History

2023-05-06 05:53:44 +00:00
name: cargo-audit
2023-05-06 04:34:30 +00:00
on:
push:
paths-ignore:
- 'docs/**'
- 'scripts/**'
- 'README.md'
2023-05-06 05:42:31 +00:00
branches: [ "dev", "main" ]
2023-05-06 04:34:30 +00:00
pull_request:
2023-05-06 05:42:31 +00:00
branches: [ "dev", "main" ]
2023-05-06 04:34:30 +00:00
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