Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/go-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
go-version: "stable"

- name: Test
run: go test -count=1 -v ./...
run: CGO_ENABLED=0 go test -count=1 -v ./...

lint:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
read -r goos goarch artifact_name <<< "$variant"

echo "Building for GOOS=$goos GOARCH=$goarch..."
GOOS=$goos GOARCH=$goarch BINPATH="out/$artifact_name" make build
CGO_ENABLED=0 GOOS=$goos GOARCH=$goarch BINPATH="out/$artifact_name" make build
done

- name: Upload Build Artifact
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ embed: $(CHAT_SOURCES_STAMP)

.PHONY: build
build: embed
go build -o ${BINPATH} main.go
CGO_ENABLED=0 go build -o ${BINPATH} main.go