826 B
826 B
每日变动 2026-09-29
10:18 — 提交门禁:无 Go 不得跳过 make test
概要
make test/ pre-commit 在缺少go或golangci-lint时明确失败,禁止把「本机无 go」当作验证 skipped。- 新增
make setup(装 hook +check-dev)。
变更范围
| 类型 | 说明 |
|---|---|
| 配置 | Makefile check-go / check-golangci-lint / setup |
| 配置 | scripts/git-hooks/pre-commit 前置工具检查 |
| 文档 | AGENTS、verify/git-commit 规则、spark-im-v3 skill、daily-change-list skill、README |
主要文件
Makefile—lint: check-dev;缺工具 exit 1scripts/git-hooks/pre-commit— 无 go/lint 直接拒绝 commit.cursor/rules/verify-before-done.mdc/git-commit-gate.mdc— 策略说明
验证
make test: pass