Skip to content

Commit d016b5d

Browse files
committed
fix: linux arm64 runner
Signed-off-by: Peefy <xpf6677@163.com>
1 parent 3003d66 commit d016b5d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/go-test.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
container: golang:1.23-alpine3.19
6666
cgo_enabled: 1
6767
- os: alpine-arm64
68-
runner: ubuntu-22.04-arm64 # ARM64 host runner
68+
runner: ubuntu-22.04-arm # ARM64 host runner
6969
container: golang:1.23-alpine3.19
7070
cgo_enabled: 1
7171
arch: arm64
@@ -120,7 +120,7 @@ jobs:
120120
env:
121121
CGO_LDFLAGS: ${{ matrix.cgo_enabled == '1' && '-static' || '' }}
122122

123-
- name: Go code test (CGO_ENABLED=${{ matrix.cgo_enabled }})
123+
- name: Go code test (CGO_ENABLED=${{ matrix.cgo_enabled }}) on Windows
124124
if: matrix.os == 'windows-latest'
125125
run: |
126-
CGO_ENABLED=${{ matrix.cgo_enabled }} go test ./... -v
126+
go test ./... -v

0 commit comments

Comments
 (0)