We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1945a15 commit 3003d66Copy full SHA for 3003d66
.github/workflows/go-test.yaml
@@ -106,6 +106,7 @@ jobs:
106
echo "GO_LDFLAGS=-linkmode external -extldflags '-static'" >> $GITHUB_ENV
107
108
- name: Go code test (CGO_ENABLED=${{ matrix.cgo_enabled }})
109
+ if: matrix.os != 'windows-latest'
110
run: |
111
if [ -n "${{ matrix.container }}" ]; then
112
BUILD_TAGS="$GO_BUILD_TAGS"
@@ -118,3 +119,8 @@ jobs:
118
119
-ldflags="${EXTRA_LDFLAGS}"
120
env:
121
CGO_LDFLAGS: ${{ matrix.cgo_enabled == '1' && '-static' || '' }}
122
+
123
+ - name: Go code test (CGO_ENABLED=${{ matrix.cgo_enabled }})
124
+ if: matrix.os == 'windows-latest'
125
+ run: |
126
+ CGO_ENABLED=${{ matrix.cgo_enabled }} go test ./... -v
0 commit comments