Skip to content

Commit e80dd5e

Browse files
dipto0321claude
andcommitted
fix(ci): separate go language version from toolchain to satisfy golangci-lint
golangci-lint v1.64.8 is built with Go 1.24 and refuses to analyse a module whose go directive is higher than its own build version. Split the two concerns: keep `go 1.24` as the minimum language version (no 1.25/1.26 features are used) and add `toolchain go1.26.4` so local builds and CI test/build jobs still use the 1.26.4 toolchain. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 66ff8ee commit e80dd5e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎go.mod‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
module github.com/dipto0321/nodeup
22

3-
go 1.26.4
3+
go 1.24
4+
5+
toolchain go1.26.4
46

57
require (
68
github.com/Masterminds/semver/v3 v3.5.0

0 commit comments

Comments
 (0)