fix(ci): fix build step output path conflict
ci / vet, staticcheck, test, build (push) Successful in 2m47s
ci / vet, staticcheck, test, build (push) Successful in 2m47s
go build ./cmd/... tried to write a binary named "cmd" which conflicts with the source directory of the same name; pass -o /dev/null so the build step only verifies compilation without writing output. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -37,4 +37,4 @@ jobs:
|
||||
run: go test ./...
|
||||
|
||||
- name: build
|
||||
run: go build ./cmd/...
|
||||
run: go build -o /dev/null ./cmd/...
|
||||
|
||||
Reference in New Issue
Block a user