ci: fix test binary name duplicates (#404)
Signed-off-by: Takeshi Yoneda <takeshi@tetrate.io>
This commit is contained in:
2
.github/workflows/commit.yaml
vendored
2
.github/workflows/commit.yaml
vendored
@@ -99,7 +99,7 @@ jobs:
|
||||
key: test-${{ runner.os }}-go-${{ matrix.go-version }}-${{ hashFiles('**/go.sum') }}-${{ matrix.arch }}
|
||||
|
||||
- name: Build test binaries
|
||||
run: go list ./... | xargs -Ipkg go test pkg -c
|
||||
run: go list -f '{{.Dir}}' ./... | xargs -Ipkg go test pkg -c -o pkg.test
|
||||
env:
|
||||
GOARCH: ${{ matrix.arch }}
|
||||
CGO_ENABLED: 0
|
||||
|
||||
Reference in New Issue
Block a user