Skip to content

build: upgrade to Go 1.25 and golangci-lint 2.9#135

Merged
mcombuechen merged 1 commit intomainfrom
build/upgrade-to-go-1-25
Feb 11, 2026
Merged

build: upgrade to Go 1.25 and golangci-lint 2.9#135
mcombuechen merged 1 commit intomainfrom
build/upgrade-to-go-1-25

Conversation

@thomasschafer
Copy link
Contributor

@thomasschafer thomasschafer commented Feb 11, 2026

This PR:

  • Bumps the Go version to 1.25 to address some vulns in the standard library e.g. SNYK-GOLANG-STDNETURL-15139468
  • Bumps the golangci-lint version to the latest 2.x version, as there are no longer any 1.x golangci-lint Docker images that support Go 1.25, and migrates the config accordingly
  • Updates GitHub Actions workflow Go versions and upgrades golangci-lint-action to v9
  • Fixes or ignores linting errors newly caught by the above change

- Bump Go version to 1.25.7
- Upgrade golangci-lint to v2.9.0 and migrate config to v2 schema
- Move goimports from linter to formatter section
- Add govet shadow check
- Update CircleCI and GitHub Actions Go versions
- Upgrade golangci-lint-action to v9
- Add ST1005 exclusion for existing error strings

Co-authored-by: Cursor <cursoragent@cursor.com>
@snyk-io
Copy link

snyk-io bot commented Feb 11, 2026

Snyk checks have passed. No issues have been found so far.

Status Scanner Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues
Code Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@thomasschafer thomasschafer changed the title build: upgrade to Go 1.25 and golangci-lint 2.x build: upgrade to Go 1.25 and golangci-lint v2.9.0 Feb 11, 2026
@thomasschafer thomasschafer changed the title build: upgrade to Go 1.25 and golangci-lint v2.9.0 build: upgrade to Go 1.25 and golangci-lint 2.9 Feb 11, 2026
@thomasschafer thomasschafer marked this pull request as ready for review February 11, 2026 12:23
@thomasschafer thomasschafer requested review from a team and garethr as code owners February 11, 2026 12:23
@mcombuechen mcombuechen merged commit 5f17b0f into main Feb 11, 2026
10 checks passed
@mcombuechen mcombuechen deleted the build/upgrade-to-go-1-25 branch February 11, 2026 12:33
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.

2 participants

Comments