ci: fix arm64 failures
This commit is contained in:
parent
a5a8200eb8
commit
4781eeaedc
4
.github/workflows/push.yaml
vendored
4
.github/workflows/push.yaml
vendored
|
@ -72,15 +72,13 @@ jobs:
|
||||||
chmod 755 dist/*
|
chmod 755 dist/*
|
||||||
|
|
||||||
- name: go test
|
- name: go test
|
||||||
|
if: ${{ matrix.goarch == 'amd64' }}
|
||||||
env:
|
env:
|
||||||
GOOS: ${{ matrix.goos }}
|
|
||||||
GOARCH: ${{ matrix.goarch }}
|
|
||||||
CGO_ENABLED: 0
|
CGO_ENABLED: 0
|
||||||
run: |
|
run: |
|
||||||
go test $(go list ./...)
|
go test $(go list ./...)
|
||||||
|
|
||||||
- name: go test -race
|
- name: go test -race
|
||||||
# We can only run the race detector on the OS and Arch the CI runner is running on.
|
|
||||||
if: ${{ matrix.goarch == 'amd64' }}
|
if: ${{ matrix.goarch == 'amd64' }}
|
||||||
env:
|
env:
|
||||||
CGO_ENABLED: 1
|
CGO_ENABLED: 1
|
||||||
|
|
Loading…
Reference in New Issue
Block a user