Skip to content

Update Go version to 1.27.1 - #166

Merged
hanlaur merged 2 commits into
mainfrom
update-go-1.27.1
Oct 3, 2026
Merged

hanlaur merged 2 commits into
mainfrom
update-go-1.27.1

Conversation

@hanlaur

@hanlaur hanlaur commented Oct 3, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Bump go directive in go.mod from 1.26.8 to 1.27.1 (latest release). CI workflows read the Go version from go.mod.
  • Ran go get -u -t ./...: all dependencies were already at their latest versions. go mod tidy regrouped the require blocks; go.sum is unchanged.
  • Bump golangci-lint from v2.11.1 to v2.14.0. v2.11.1 is built with Go 1.26 and refuses to lint a Go 1.27 module.
    • Disable exhaustruct_v5, which replaces the already disabled exhaustruct linter.
    • Fix new goconst and modernize findings in main_test.go (extract repeated test strings into constants, use strings.Cut).

Testing

  • go build, go vet and golangci-lint v2.14.0 pass locally
  • All CI checks pass, including lint and the Kong integration tests

🤖 Generated with Claude Code

Dependencies are already at their latest versions; go mod tidy
regrouped the require blocks.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@hanlaur hanlaur added the chore Maintenance tasks label Oct 3, 2026
golangci-lint v2.11.1 is built with Go 1.26 and refuses to lint a
Go 1.27 module. Disable exhaustruct_v5, which replaces the already
disabled exhaustruct, and fix new goconst and modernize findings in
tests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@sonarqubecloud

sonarqubecloud Bot commented Oct 3, 2026

Copy link
Copy Markdown

@hanlaur
hanlaur merged commit 1b4d919 into main Oct 3, 2026
10 checks passed
@hanlaur
hanlaur deleted the update-go-1.27.1 branch October 3, 2026 06:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore Maintenance tasks

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

⌂ 换网址