From 16dd1256f4372108117875838daca17e79219378 Mon Sep 17 00:00:00 2001 From: waciumawanjohi Date: Thu, 26 Jan 2023 13:30:02 -0500 Subject: [PATCH] Github workflows use go version from go.mod (#1146) --- .github/workflows/upgrade-test.yaml | 3 ++- .github/workflows/validation.yaml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/upgrade-test.yaml b/.github/workflows/upgrade-test.yaml index 5a78f73fd..cbe8e6ed3 100644 --- a/.github/workflows/upgrade-test.yaml +++ b/.github/workflows/upgrade-test.yaml @@ -32,7 +32,8 @@ jobs: - name: set up Go uses: actions/setup-go@v3 - with: {go-version: '^1.18'} + with: + go-version-file: 'go.mod' - name: setup base dependencies run: |- diff --git a/.github/workflows/validation.yaml b/.github/workflows/validation.yaml index a45a2d984..e44599ba0 100644 --- a/.github/workflows/validation.yaml +++ b/.github/workflows/validation.yaml @@ -36,7 +36,8 @@ jobs: - name: set up Go uses: actions/setup-go@v3 - with: {go-version: '^1.18'} + with: + go-version-file: 'go.mod' - name: setup carvel tooling binaries uses: vmware-tanzu/carvel-setup-action@v1