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/* 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