Skip to content

Commit b5a8c00

Browse files
committed
fix(release): exclude validator tests from GoReleaser before hook
Validator tests require external tools (buf v1.45.0) not installed in the release workflow. These tests are covered by the CI workflow.
1 parent 61792bc commit b5a8c00

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.goreleaser.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version: 2
44
before:
55
hooks:
66
- go mod tidy
7-
- go test ./cmd/... ./internal/...
7+
- sh -c "go test ./cmd/... $(go list ./internal/... | grep -v /validator | tr '\n' ' ')"
88

99
builds:
1010
- id: apx

0 commit comments

Comments
 (0)