Files
optimclaw/scripts/ci/quality_gate_strict.sh
T
[email protected]andClaude Opus 4.6 ed5f110742 fix: use cargo-deny action in CI, improve quality gate script
- Use EmbarkStudios/cargo-deny-action@v2 instead of cargo install
  for faster CI execution
- Fix quality_gate_strict.sh to check for cargo-deny availability
  instead of suppressing stderr

Co-Authored-By: Claude Opus 4.6 <[email protected]>
2026-03-09 23:10:26 -07:00

19 lines
434 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
cargo deny check
else
echo "WARN: cargo-deny not installed, skipping (install with: cargo install cargo-deny)"
fi
echo "==> tests"
cargo test --locked