File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,12 +15,15 @@ Before finishing a change, run:
1515gofmt -w cmd internal
1616go test -coverprofile=coverage.out ./...
1717go vet ./...
18- slophammer-go check . --coverage-profile coverage.out
18+ go run github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.11.0 run
19+ ./scripts/check-go-coverage.sh
20+ go run github.com/dutifuldev/slophammer/go/cmd/slophammer-go@v0.4.0 dry . --max-candidates 0
21+ go run github.com/dutifuldev/slophammer/go/cmd/slophammer-go@v0.4.0 crap . --max-score 8
22+ go run github.com/dutifuldev/slophammer/go/cmd/slophammer-go@v0.4.0 check . --coverage-profile coverage.out --only go.coverage-required --only go.dry-required --only go.crap-required
1923git diff --check
2024```
2125
22- If ` slophammer-go ` is not installed, use the matching Go checker from a local
23- Slophammer checkout and state that path in the handoff.
26+ Use the pinned ` go run ` commands above so local checks match CI.
2427
2528## Go Rules
2629
You can’t perform that action at this time.
0 commit comments