goose/scripts/clippy-lint.sh
Jack Amadeo 757ceb6109
Some checks are pending
Canary / Prepare Version (push) Waiting to run
Canary / build-cli (push) Blocked by required conditions
Canary / Upload Install Script (push) Blocked by required conditions
Canary / bundle-desktop (push) Blocked by required conditions
Canary / bundle-desktop-linux (push) Blocked by required conditions
Canary / bundle-desktop-windows (push) Blocked by required conditions
Canary / Release (push) Blocked by required conditions
CI / changes (push) Waiting to run
CI / Check Rust Code Format (push) Blocked by required conditions
CI / Build and Test Rust Project (push) Blocked by required conditions
CI / Lint Electron Desktop App (push) Blocked by required conditions
CI / bundle-desktop-unsigned (push) Blocked by required conditions
Documentation Site Preview / deploy (push) Waiting to run
Publish Docker Image / docker (push) Waiting to run
chore: turn clippy on for test code (#4817)
2025-09-26 00:06:07 -04:00

24 lines
519 B
Bash
Executable file

#!/bin/bash
# Combined lint script
# Runs standard clippy (strict) + baseline clippy rules
set -e
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
# Source the baseline functions
source "$SCRIPT_DIR/clippy-baseline.sh"
echo "🔍 Running all clippy checks..."
# Run standard clippy with strict warnings
echo " → Standard clippy rules (strict)"
cargo clippy --all-targets --jobs 2 -- -D warnings
# Run baseline rules check
echo ""
check_all_baseline_rules
echo ""
echo "✅ All lint checks passed!"