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/*
|
||||
|
||||
- name: go test
|
||||
if: ${{ matrix.goarch == 'amd64' }}
|
||||
env:
|
||||
GOOS: ${{ matrix.goos }}
|
||||
GOARCH: ${{ matrix.goarch }}
|
||||
CGO_ENABLED: 0
|
||||
run: |
|
||||
go test $(go list ./...)
|
||||
|
||||
- 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' }}
|
||||
env:
|
||||
CGO_ENABLED: 1
|
||||
|
|
Loading…
Reference in New Issue
Block a user