File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 17
17
go-version : " stable"
18
18
19
19
- name : Test
20
- run : go test -count=1 -v ./...
20
+ run : CGO_ENABLED=0 go test -count=1 -v ./...
21
21
22
22
lint :
23
23
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 50
50
read -r goos goarch artifact_name <<< "$variant"
51
51
52
52
echo "Building for GOOS=$goos GOARCH=$goarch..."
53
- GOOS=$goos GOARCH=$goarch BINPATH="out/$artifact_name" make build
53
+ CGO_ENABLED=0 GOOS=$goos GOARCH=$goarch BINPATH="out/$artifact_name" make build
54
54
done
55
55
56
56
- name : Upload Build Artifact
Original file line number Diff line number Diff line change @@ -17,4 +17,4 @@ embed: $(CHAT_SOURCES_STAMP)
17
17
18
18
.PHONY : build
19
19
build : embed
20
- go build -o ${BINPATH} main.go
20
+ CGO_ENABLED=0 go build -o ${BINPATH} main.go
You can’t perform that action at this time.
0 commit comments