From 5e431d917f2757b9424be491e25315aa0ab05612 Mon Sep 17 00:00:00 2001 From: Jim Fasarakis-Hilliard Date: Thu, 6 Jul 2023 21:40:45 +0300 Subject: [PATCH] Use native arch. (#4029) --- .github/workflows/e2e.yaml | 2 +- .github/workflows/test.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index 52a98c1c859..cad178677db 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -76,7 +76,7 @@ jobs: find ./tests -type d | while IFS= read -r dir do if ls "${dir}"/*.go >/dev/null 2>&1; then - GOARCH=arm64 go test -c "$dir" + go test -c "$dir" fi done diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4999b248a66..65c13842bb6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -57,7 +57,7 @@ jobs: find ./tests -type d | while IFS= read -r dir do if ls "${dir}"/*.go >/dev/null 2>&1; then - GOARCH=arm64 go test -c "$dir" + GOARCH=${{ matrix.go-arch }} go test -c "$dir" fi done