Skip to content

Commit 5573e52

Browse files
committed
ci: use go build instead of test in goreleaser hook (tests run separately)
1 parent d41b0b8 commit 5573e52

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
go-version: '1.26.1'
4848

4949
- name: Run tests
50-
run: go test -race ./...
50+
run: go test -race -short ./...
5151

5252
- name: Run GoReleaser
5353
uses: goreleaser/goreleaser-action@v6

.goreleaser.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ project_name: hawk
33

44
before:
55
hooks:
6-
- go test ./...
6+
- go build ./...
77

88
builds:
99
- main: .

0 commit comments

Comments
 (0)