ci: fix arm64 failures

This commit is contained in:
Matthew Penner 2022-11-06 14:39:02 -07:00
parent a5a8200eb8
commit 4781eeaedc
No known key found for this signature in database
2 changed files with 1 additions and 3 deletions

View File

@ -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