From bdfa70d02b0b2ed2919968d78461a6dc1e251cae Mon Sep 17 00:00:00 2001 From: James Blair Date: Tue, 23 May 2023 20:18:14 +1200 Subject: [PATCH] Run arm64 unit and integration tests in a container. Signed-off-by: James Blair --- .github/workflows/tests-arm64.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/tests-arm64.yaml b/.github/workflows/tests-arm64.yaml index 80090f638..f89fa3e8d 100644 --- a/.github/workflows/tests-arm64.yaml +++ b/.github/workflows/tests-arm64.yaml @@ -11,6 +11,10 @@ jobs: if: github.repository == 'etcd-io/etcd' runs-on: [self-hosted, Linux, ARM64] needs: goversion + container: golang:1.19-bullseye + defaults: + run: + shell: bash strategy: fail-fast: false matrix: @@ -21,6 +25,8 @@ jobs: - linux-arm64-unit-4-cpu-race steps: - uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2 + # https://github.com/actions/checkout/issues/1169 + - run: git config --system --add safe.directory '*' - uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1 with: go-version: ${{ needs.goversion.outputs.goversion }}