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 63b6413 commit 1945a15Copy full SHA for 1945a15
.github/workflows/go-test.yaml
@@ -102,7 +102,7 @@ jobs:
102
- name: Setup build tags for Alpine
103
if: matrix.container != null
104
run: |
105
- echo "GO_BUILD_TAGS=netgo static osusergo" >> $GITHUB_ENV
+ echo "GO_BUILD_TAGS=musl netgo static osusergo" >> $GITHUB_ENV
106
echo "GO_LDFLAGS=-linkmode external -extldflags '-static'" >> $GITHUB_ENV
107
108
- name: Go code test (CGO_ENABLED=${{ matrix.cgo_enabled }})
@@ -111,7 +111,7 @@ jobs:
111
BUILD_TAGS="$GO_BUILD_TAGS"
112
EXTRA_LDFLAGS="$GO_LDFLAGS"
113
fi
114
-
+
115
CGO_ENABLED=${{ matrix.cgo_enabled }} \
116
go test ./... -v \
117
-tags="${BUILD_TAGS}" \
0 commit comments