From 571a0d1c6d5f7163fcc8cc2dbd2420517fb3d9c2 Mon Sep 17 00:00:00 2001 From: Michael Zalimeni Date: Tue, 16 Jan 2024 15:12:28 +0000 Subject: [PATCH] backport of commit 9816a74b39b7605828a985c89cc9776825612213 --- .github/workflows/test-integrations.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-integrations.yml b/.github/workflows/test-integrations.yml index 9f98e7f595f4..56c3bfc52104 100644 --- a/.github/workflows/test-integrations.yml +++ b/.github/workflows/test-integrations.yml @@ -160,6 +160,7 @@ jobs: runs-on: ${{ fromJSON(needs.setup.outputs.compute-large) }} needs: - setup + - get-go-version - dev-build permissions: id-token: write # NOTE: this permission is explicitly required for Vault auth. @@ -179,8 +180,9 @@ jobs: - uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # v3.5.0 with: - # Do not explicitly set Go version here, as it should depend on what Vault declares. - go-version-file: 'go.mod' + # We use the current Consul Go version here since Vault is installed as a binary + # and tests are run from the Consul repo. + go-version: ${{ needs.get-go-version.outputs.go-version }} - name: Install Vault run: |