2023-05-06 05:53:44 +00:00
|
|
|
name: cargo-audit
|
2023-05-06 04:34:30 +00:00
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
paths-ignore:
|
2023-06-12 15:16:18 +00:00
|
|
|
- 'assets/**'
|
2023-05-06 04:34:30 +00:00
|
|
|
- '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
|
2024-04-07 14:43:18 +00:00
|
|
|
run: sudo apt install -y libssl-dev build-essential
|
2023-05-06 04:34:30 +00:00
|
|
|
- name: Audit
|
|
|
|
run: cargo install cargo-audit && cargo audit
|