neveko/.github/workflows/audit.yml

27 lines
490 B
YAML

name: cargo-audit
on:
push:
paths-ignore:
- 'assets/**'
- 'docs/**'
- 'scripts/**'
- 'README.md'
branches: [ "dev", "main" ]
pull_request:
branches: [ "dev", "main" ]
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
- name: Audit
run: cargo install cargo-audit && cargo audit