mirror of
https://github.com/outbackdingo/optimclaw.git
synced 2026-08-26 07:30:11 +00:00
- 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]>
19 lines
434 B
Bash
Executable File
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
|