feat(ci): enforce gofmt and wrap long composite literals in yawn/ (0.3.0-dev.54) #67
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/yawn-go-format"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Enforces
gofmtand readable multi-line wrapping onyawn/*.goacross every repo that synthesizes CI withci.Synthesize.Changes
ci/format.go+ci/generate.go:ci.Synthesize(root, check, ...), checks allyawn/*.gofiles withgo/format.Source(gofmt) and expands any single-line multi-elementast.CompositeLitexceeding 120 columns into clean multi-line fields.go run ./yawnformatsyawn/*.goin place;go run ./yawn -checkfails in CI when anyyawn/*.gofile needs formatting or wrapping.ci/ci_test.go: addsTestYawnGoFormattingEnforced.VERSION,CHANGELOG.md: release0.3.0-dev.54.Verification
.forgejo/scripts/check.sh:gofmt,go mod verify,go vet, all tests, andgovulncheckpassed.