mirror of
https://github.com/babichjacob/ac-qu-ai-nt.git
synced 2025-10-01 16:37:53 -04:00
ci(check-and-build-and-test): add cargo-audit
to the formatting-and-deny
job to upgrade it to formatting-and-deny-and-audit
This commit is contained in:
11
.github/workflows/check-and-build-and-test.yml
vendored
11
.github/workflows/check-and-build-and-test.yml
vendored
@@ -18,16 +18,18 @@ env:
|
||||
CARGO_TERM_COLOR: always
|
||||
|
||||
jobs:
|
||||
formatting-and-deny:
|
||||
name: Check formatting and cargo-deny
|
||||
formatting-and-deny-and-audit:
|
||||
name: Check formatting, cargo-deny, and cargo-audit
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 2
|
||||
timeout-minutes: 4
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install stable Rust toolchain
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
- name: Install cargo-audit
|
||||
uses: taiki-e/install-action@cargo-audit
|
||||
|
||||
- name: Formatting
|
||||
run: cargo fmt --check --verbose
|
||||
@@ -35,6 +37,9 @@ jobs:
|
||||
- name: cargo-deny
|
||||
uses: EmbarkStudios/cargo-deny-action@v2
|
||||
|
||||
- name: cargo-audit
|
||||
run: cargo-audit --deny warnings
|
||||
|
||||
check-and-build:
|
||||
strategy:
|
||||
matrix:
|
||||
|
Reference in New Issue
Block a user