From 8b4688dfe047d3e001c65eac008c877f7e843185 Mon Sep 17 00:00:00 2001 From: cfal Date: Mon, 6 Nov 2023 18:39:25 +0700 Subject: [PATCH] .github/workflows/integration-tests-docker.yml: fix updating chainlink-cosmos sha --- .github/workflows/integration-tests-docker.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/integration-tests-docker.yml b/.github/workflows/integration-tests-docker.yml index 12ffddb2..47ab8a10 100644 --- a/.github/workflows/integration-tests-docker.yml +++ b/.github/workflows/integration-tests-docker.yml @@ -38,6 +38,17 @@ jobs: ref: ${{ env.CUSTOM_CORE_REF || env.DEFAULT_CORE_REF }} path: temp/chainlink + - name: Read go version from .tool-versions + id: tool_versions + run: | + go_version=$(grep -E '^golang ' .tool-versions | cut -d' ' -f2) + echo "GO_VERSION=${go_version}" >> "${GITHUB_OUTPUT}" + + - name: Set up Go + uses: actions/setup-go@v2 + with: + go-version: ${{ steps.tool_versions.outputs.GO_VERSION }} + - name: Update chainlink-cosmos sha env: COMMIT_SHA: ${{ github.event_name == 'push' && github.sha || github.event.pull_request.head.sha }}