chore: bump Go to 1.27, update Actions and tooling to latest - #4
Merged
Merged
Conversation
- go.mod: go 1.22.3 -> 1.27.0 - CI/lint/codeql/release workflows: build/test on Go 1.27.x - Incorporate dependabot github-actions group bumps (PR #3): - actions/checkout v4 -> v7 - actions/setup-go v5 -> v7 - codecov/codecov-action v4 -> v7 - github/codeql-action v3 -> v4 - golangci/golangci-lint-action v6 -> v9 - goreleaser/goreleaser-action v6 -> v7 Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
- golangci-lint v1.61.0 -> v2.13.2; migrate .golangci.yml to the v2 schema (formatters split out, exclusions restructured); update the install path to the /v2 module in Makefile and the CI pin - Dockerfile: distroless static-debian12 -> static-debian13 (Debian 13 is now stable) Go module deps (dragontoothmg) already at latest; GitHub Actions already pinned to their latest majors (checkout v7, setup-go v7, codecov v7, codeql v4, golangci-lint-action v9, goreleaser v7). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
v1.1.4 panics ("unexpected expr: *ast.KeyValueExpr") when scanning code
built with Go 1.27; v1.7.0 scans clean.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Go 1.27
go.mod:go 1.22.3→go 1.27.01.27.xGitHub Actions (folds in the dependabot github-actions group from #3, which this supersedes)
All are pinned to their latest major (checkout v7.0.1, setup-go v7.0.0, codecov v7.0.0, codeql v4, golangci-lint-action v9.3.0, goreleaser v7.2.3).
Tooling to latest
golangci-lintv1.61.0→v2.13.2— required migrating.golangci.ymlto the v2 schema (formattersgofumpt/goimportssplit into their own section;linters-settings→linters.settings;issues.exclude-rules→linters.exclusions.rules). Default linters (errcheck,govet,ineffassign,staticcheck,unused) are implicit in v2 and dropped from the explicit list. Install path updated to the/v2module inMakefileand pinned inlint.yml.Dockerfile: distrolessstatic-debian12→static-debian13(Debian 13 is now stable)dragontoothmghas no newer tag/commit — already latestgovulncheckv1.1.4,goreleaser~> v2— already latestVerification (local, Go 1.27.0)
go mod tidy(no go.sum change),go mod verifygo build ./...,go vet ./...,go test ./...— passgolangci-lint run ./...(v2.13.2) —0 issuesgofumpt -l .— clean