Skip to content

Commit 13e33f7

Browse files
committed
Tell go action to infer go version from go mod file
No sense to repeat that version twice
1 parent f1b4614 commit 13e33f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/go.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Set up Go
2020
uses: actions/setup-go@v5
2121
with:
22-
go-version: "^1.22"
22+
go-version-file: 'go.mod'
2323

2424
- name: Get dependencies
2525
run: go mod download

0 commit comments

Comments
 (0)