Skip to content

Commit 3ee50bf

Browse files
author
Daniel Chen
authored
Merge pull request #88 from vmware-tanzu/go-version-from-gomod
Extract go version from go.mod
2 parents 0fff267 + bd389e3 commit 3ee50bf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/unit-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ jobs:
1616
- name: Set up Go
1717
uses: actions/setup-go@v4
1818
with:
19-
go-version: 1.18
19+
go-version-file: 'go.mod'
2020

2121
- name: Build
2222
run: go build -v ./cmd/...
2323

2424
- name: Test
25-
run: go test -v ./pkg/...
25+
run: go test -v ./pkg/...

0 commit comments

Comments
 (0)