Skip to content

chore: bump go to 1.27.2 and golangci-lint to v2.14.0 - #690

Merged
joe0BAB merged 1 commit into
mainfrom
chore/go-1.27
Oct 12, 2026
Merged

joe0BAB merged 1 commit into
mainfrom
chore/go-1.27

Conversation

@joe0BAB

@joe0BAB joe0BAB commented Oct 12, 2026

Copy link
Copy Markdown
Collaborator

go 1.26.9 -> 1.27.2 in go.work, every module go directive, and the store bake default. go.work.sum and vendor/modules.txt regenerated with make mod.

golangci-lint refuses modules whose go directive is newer than the Go version it was built with. v2.12.2 is built with go1.26 and cannot lint go 1.27 modules; v2.14.0 is the first release built with go1.27.

Fallout under v2.14.0:

  • gofumpt's extra-rules setting is deprecated; use extra.group-params.
  • nolintlint flags the //nolint:unused on optionFunc.apply because unused no longer reports the method.
  • gofumpt wants a blank line between fakeService.Collections and fakeService.ReadAlias.

go 1.26.9 -> 1.27.2 in go.work, every module go directive, and the
store bake default. go.work.sum and vendor/modules.txt regenerated with
`make mod`.

golangci-lint refuses modules whose go directive is newer than the Go
version it was built with. v2.12.2 is built with go1.26 and cannot lint
go 1.27 modules; v2.14.0 is the first release built with go1.27.

Fallout under v2.14.0:
- gofumpt's `extra-rules` setting is deprecated; use `extra.group-params`.
- nolintlint flags the `//nolint:unused` on optionFunc.apply because
  `unused` no longer reports the method.
- gofumpt wants a blank line between fakeService.Collections and
  fakeService.ReadAlias.

Signed-off-by: Johannes Großmann <grossmann.johannes@t-online.de>
@joe0BAB
joe0BAB marked this pull request as ready for review October 12, 2026 13:26

@docker-agent docker-agent left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Assessment: 🟢 APPROVE

@joe0BAB
joe0BAB merged commit be35cb7 into main Oct 12, 2026
32 checks passed
@joe0BAB
joe0BAB deleted the chore/go-1.27 branch October 12, 2026 13:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants