Files
optimclaw/scripts/ci/quality_gate_strict.sh
T
[email protected]andClaude Opus 4.6 bbb5321f34 fix: address PR review feedback for cargo-deny integration
- quality_gate_strict.sh: fail hard when cargo-deny is not installed
  instead of silently skipping, and let set -e handle check failures
- deny.toml: remove empty [graph].targets so cargo-deny checks all
  platforms instead of only the runner's default target

Co-Authored-By: Claude Opus 4.6 <[email protected]>
2026-03-10 00:35:17 -07:00

19 lines
429 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"
if ! command -v cargo-deny &>/dev/null; then
echo "ERROR: cargo-deny not installed (install with: cargo install cargo-deny)"
exit 1
fi
cargo deny check
echo "==> tests"
cargo test --locked