From f0e146e23f83501821ffddd538a1bf404e74a4e7 Mon Sep 17 00:00:00 2001 From: Will Roden Date: Tue, 8 Aug 2023 15:48:17 -0500 Subject: [PATCH] 1.21 integration tests --- .github/workflows/integration.yml | 38 +++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 98c12d5..8f29fe6 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -137,3 +137,41 @@ jobs: [[ "$(go version)" == *"1.13"* ]] [[ '${{steps.setup_go_1_13_x.outputs.GOROOT}}' == *"1.13"* ]] [[ '${{steps.setup_go_1_13_x.outputs.GOTOOLDIR}}' == *"1.13"* ]] + + - id: setup_go_1_21 + name: install 1.21 + uses: ./ + with: + go-version: '1.21' + ignore-local: true + - name: outputs + run: | + echo '*********** env ************' + env + echo '*********** go env ***********' + go env + echo '${{ toJson( steps.setup_go_1_21.outputs ) }}' | jq . + go version + set -ex + [[ "$(go version)" == *"1.21.0"* ]] + [[ '${{steps.setup_go_1_21.outputs.GOROOT}}' == *"1.21.0"* ]] + [[ '${{steps.setup_go_1_21.outputs.GOTOOLDIR}}' == *"1.21.0"* ]] + + - id: setup_go_1_21_0 + name: install 1.21.0 + uses: ./ + with: + go-version: '1.21.0' + ignore-local: true + - name: outputs + run: | + echo '*********** env ************' + env + echo '*********** go env ***********' + go env + echo '${{ toJson( steps.setup_go_1_21.outputs ) }}' | jq . + go version + set -ex + [[ "$(go version)" == *"1.21.0"* ]] + [[ '${{steps.setup_go_1_21.outputs.GOROOT}}' == *"1.21.0"* ]] + [[ '${{steps.setup_go_1_21.outputs.GOTOOLDIR}}' == *"1.21.0"* ]] \ No newline at end of file