Skip to content

Commit 1220f57

Browse files
committed
get go version to install from go.mod
1 parent 0bdbad9 commit 1220f57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/precommit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- name: Set Go
2828
uses: actions/setup-go@v5
2929
with:
30-
go-version: v1.20
30+
go-version-file: './go.mod'
3131

3232
# Compensate for lack of pre-commit-go-toolchain image
3333
- name: Set up Python

0 commit comments

Comments
 (0)