Skip to content

Commit a0807e7

Browse files
committed
golangci: set go version to prevent fallback to go1.17 semantics
Signed-off-by: Sebastiaan van Stijn <[email protected]>
1 parent 29e5bfb commit a0807e7

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.golangci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ linters:
2020
- errcheck
2121

2222
run:
23+
# prevent golangci-lint from deducting the go version to lint for through go.mod,
24+
# which causes it to fallback to go1.17 semantics.
25+
go: "1.23.2"
2326
concurrency: 2
2427
# Only supported with go modules enabled (build flag -mod=vendor only valid when using modules)
2528
# modules-download-mode: vendor

0 commit comments

Comments
 (0)