Skip to content

Commit cff9591

Browse files
Disable CGO on go build (#573) (#574)
(cherry picked from commit 8562121)
1 parent 8366193 commit cff9591

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/build.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,13 @@ jobs:
3434
runner: ubuntu-latest
3535
- os: linux
3636
arch: arm64
37-
runner: ubuntu-latest
37+
runner: ubuntu-24.04-arm
3838
- os: darwin
3939
arch: amd64
4040
runner: ubuntu-latest
4141
- os: darwin
4242
arch: arm64
43-
runner: ubuntu-latest
43+
runner: ubuntu-24.04-arm
4444
- os: windows
4545
arch: amd64
4646
runner: ubuntu-latest
@@ -64,6 +64,7 @@ jobs:
6464
arch=${{ matrix.args.arch }}
6565
extension=${{ matrix.args.os == 'windows' && '.exe' || '' }}
6666
67+
CGO_ENABLED=0 \
6768
GOOS=${{ matrix.args.os }} \
6869
GOARCH=${{ matrix.args.arch }} \
6970
GO111MODULE=on \

0 commit comments

Comments
 (0)