Run arm64 unit and integration tests in a container.

Signed-off-by: James Blair <mail@jamesblair.net>
dependabot/go_modules/github.com/prometheus/procfs-0.11.0
James Blair 2023-05-23 20:18:14 +12:00
parent 8c715f8a40
commit bdfa70d02b
No known key found for this signature in database
1 changed files with 6 additions and 0 deletions

View File

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