mirror of
https://github.com/outbackdingo/optimclaw.git
synced 2026-08-31 16:49:34 +00:00
Add dependency auditing via cargo-deny to catch license violations, security advisories, and untrusted sources. Integrates into CI as a parallel job alongside clippy, and into the local quality gate script. Co-Authored-By: Claude Opus 4.6 <[email protected]>
15 lines
349 B
Bash
Executable File
15 lines
349 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
echo "==> fmt check"
|
|
cargo fmt --all -- --check
|
|
|
|
echo "==> clippy (all warnings)"
|
|
cargo clippy --locked --all --benches --tests --examples --all-features -- -D warnings
|
|
|
|
echo "==> cargo deny"
|
|
cargo deny check 2>/dev/null || echo "WARN: cargo-deny not installed, skipping"
|
|
|
|
echo "==> tests"
|
|
cargo test --locked
|