mirror of
https://github.com/Yuyi-Oak/BlueArchiveToolkit.git
synced 2026-09-18 10:04:55 +08:00
fix(repo):统一发布健康与只读质量门禁
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user