2022-05-27 20:33:25 +00:00
|
|
|
name: Security audit
|
2023-02-24 17:43:00 +00:00
|
|
|
|
2022-05-27 20:33:25 +00:00
|
|
|
on:
|
|
|
|
push:
|
2023-02-24 17:43:00 +00:00
|
|
|
branches: [master]
|
2022-05-27 20:33:25 +00:00
|
|
|
paths:
|
|
|
|
- "**/Cargo.toml"
|
|
|
|
- "**/Cargo.lock"
|
2023-02-24 17:43:00 +00:00
|
|
|
pull_request:
|
|
|
|
branches: [master]
|
|
|
|
paths:
|
|
|
|
- "**/Cargo.toml"
|
|
|
|
- "**/Cargo.lock"
|
|
|
|
|
2022-05-27 20:33:25 +00:00
|
|
|
jobs:
|
2023-02-24 21:43:04 +00:00
|
|
|
audit:
|
|
|
|
name: Security audit
|
2022-05-27 20:33:25 +00:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2023-02-24 21:43:04 +00:00
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- uses: dtolnay/rust-toolchain@nightly
|
|
|
|
- run: cargo install --locked cargo-audit
|
|
|
|
- run: cargo audit --deny warnings
|