Skip to content

Commit 16dd125

Browse files
Github workflows use go version from go.mod (#1146)
1 parent 41492cd commit 16dd125

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/upgrade-test.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ jobs:
3232

3333
- name: set up Go
3434
uses: actions/setup-go@v3
35-
with: {go-version: '^1.18'}
35+
with:
36+
go-version-file: 'go.mod'
3637

3738
- name: setup base dependencies
3839
run: |-

.github/workflows/validation.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ jobs:
3636

3737
- name: set up Go
3838
uses: actions/setup-go@v3
39-
with: {go-version: '^1.18'}
39+
with:
40+
go-version-file: 'go.mod'
4041

4142
- name: setup carvel tooling binaries
4243
uses: vmware-tanzu/carvel-setup-action@v1

0 commit comments

Comments
 (0)