chore(dev): streamline local verification gates (#3410)

This commit is contained in:
安正超
2026-06-13 21:51:33 +08:00
committed by GitHub
parent 982812614f
commit af291afb91
5 changed files with 32 additions and 29 deletions
+7 -1
View File
@@ -1,5 +1,7 @@
## —— Pre Commit Checks ----------------------------------------------------------------------------
.NOTPARALLEL: pre-commit dev-check
.PHONY: setup-hooks
setup-hooks: ## Set up git hooks
@echo "🔧 Setting up git hooks..."
@@ -7,5 +9,9 @@ setup-hooks: ## Set up git hooks
@echo "✅ Git hooks setup complete!"
.PHONY: pre-commit
pre-commit: fmt unsafe-code-check architecture-migration-check logging-guardrails-check clippy-check compilation-check test ## Run pre-commit checks
pre-commit: fmt-check unsafe-code-check architecture-migration-check logging-guardrails-check clippy-check test ## Run full pre-commit checks
@echo "✅ All pre-commit checks passed!"
.PHONY: dev-check
dev-check: fmt-check unsafe-code-check architecture-migration-check logging-guardrails-check quick-check ## Run fast local development checks
@echo "✅ Fast development checks passed!"