From e4dfca0fa5554198fc014fc526924f8e8199730e Mon Sep 17 00:00:00 2001 From: noahdietz Date: Fri, 12 Apr 2024 11:13:26 -0700 Subject: [PATCH] fix(ci): build binaries with CGO_ENABLED=0 --- .github/workflows/release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index fbe073794..77b237f63 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -44,7 +44,7 @@ jobs: go get github.com/inconshreveable/mousetrap - name: Build for the ${{ matrix.osarch.os }}/${{ matrix.osarch.arch }} platform. run: | - gox -osarch ${{ matrix.osarch.os }}/${{ matrix.osarch.arch }} -output api-linter ./... && \ + CGO_ENABLED=0 gox -osarch ${{ matrix.osarch.os }}/${{ matrix.osarch.arch }} -output api-linter ./... && \ tar cvfz api-linter.tar.gz api-linter* - name: Set raw version id: raw_tag