From e4d2e941e0f2147019b115d4f32d90a763d9cc2d Mon Sep 17 00:00:00 2001 From: Joshua Rich Date: Sat, 25 May 2024 22:41:23 +1000 Subject: [PATCH] ci(github): :construction_worker: refactor for potential multi-arch testing --- .github/workflows/test.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 26690e155..09718ca2c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,6 +11,7 @@ permissions: env: GO_VERSION: 1.22 + ARCH: amd64 jobs: test: @@ -27,8 +28,7 @@ jobs: fetch-depth: 0 - name: Set up environment run: | - # echo "APPVERSION=$(git describe --tags --abbrev=0)-$(git rev-parse --short HEAD)" >> $GITHUB_ENV - echo "BUILD_ENV=build/env.amd64" >> $GITHUB_ENV + echo "BUILD_ENV=build/env.$ARCH" >> $GITHUB_ENV - name: Install build dependencies id: install_packages run: build/scripts/install-deps @@ -68,8 +68,7 @@ jobs: cache: false # golangci-lint maintains its own cache - name: Set up environment run: | - # echo "APPVERSION=$(git describe --tags --abbrev=0)-$(git rev-parse --short HEAD)" >> $GITHUB_ENV - echo "BUILD_ENV=build/env.amd64" >> $GITHUB_ENV + echo "BUILD_ENV=build/env.$ARCH" >> $GITHUB_ENV - name: Install build dependencies id: install_packages run: build/scripts/install-deps