Skip to content

Commit 158b78a

Browse files
authored
Use Go version defined in go.mod for running Go linter action (#998)
1 parent ec1e519 commit 158b78a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- name: Setup Golang Environment
2828
uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0
2929
with:
30-
go-version: stable
30+
go-version-file: go.mod
3131

3232
- name: Lint Go
3333
uses: golangci/golangci-lint-action@051d91933864810ecd5e2ea2cfd98f6a5bca5347 # v6.3.2

0 commit comments

Comments
 (0)