fix(repo):统一发布健康与只读质量门禁
bat-rust / Build and test Rust (push) Canceled after 0s
bat-rust / Build and test Go API (push) Canceled after 0s

This commit is contained in:
2026-09-13 22:09:44 +08:00
parent 32fc64fa83
commit c17904ee1c
25 changed files with 869 additions and 184 deletions
+4 -8
View File
@@ -60,16 +60,12 @@
运行当前通用验证:
```bash
cargo fmt --all -- --check
cargo check --workspace
cargo test --workspace
cargo clippy --workspace --all-targets -- -D warnings
make test-go-api
make build-go-api
go vet ./...
make check-docs
make ci-check
```
`make ci-check` 是只读 required 门禁;`make format` / `make fmt` 才会格式化源码。
如果环境中没有 `golangci-lint`,脚本会明确报告 optional gate skipped。
查看官方同步命令:
```bash