Repository navigation
chore: bump Go, commitlint, and GitHub Actions - #1
Merged
Merged
Conversation
Move to Go 1.27.2 so reachable standard-library vulnerabilities are gone, and update the direct modules and workflow actions from the dependency audit. Co-authored-by: Matt Fehrenbach <ma-tf@users.noreply.github.com>
Welcome to Codecov 🎉Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests. ℹ️ You can also turn on project coverage checks and project coverage reporting on Pull Request comment Thanks for integrating Codecov - We've got you covered ☂️ |
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
1.25.7→1.27.2(CI1.27.x).1.26.9and1.27.2both fix the reachable standard-library reports, including GO-2026-6617.1.27.2is used because CI installs golangci-lintlatest, which is v2.15.0 built with go1.27.0, and lint is clean on that toolchain.github.com/lmittmann/tint1.1.3→1.2.1.NewHandleris deprecated in 1.2; the call site now usesNewTextHandler. NOTICE follows the new module version.@commitlint/cliand@commitlint/config-conventional→21.2.3. v21 requires Node.js 22 and prints the input on its own line (--legacy-outputrestores the old line). The hook does not parse that output. It now runs underset -e, so a failing commitlint fails the commit; the trailing success echo used to hide the status.checkoutv7,cachev6,setup-gov7,goreleaser-actionv7,codecov-actionv7,anchore/sbom-action/download-syftv0.24.3..golangci.ymlexhaustivecheckvaluemap→mapliteral. golangci-lint 2.15 renamed that option and the old value only partially works.Release notes checked
%won a pointer to an error type, and can change a few gofmt alignments.go vet, tests, and gofmt were clean here.actions/checkoutv5 moves to Node 24, v6 stores credentials outside.git/config, and v7 refuses fork checkouts onpull_request_targetandworkflow_run. These workflows usepushandpull_requestonly.actions/cachev6,setup-gov7,goreleaser-actionv7, andcodecov-actionv6/v7 are Node 24 / ESM updates. The inputs this repo sets are unchanged. setup-go v6 also changed its default module cache key togo.mod; that only invalidates the cache once.anchore/sbom-action0.23/0.24 moves to Node 24 and a single bundle.download-syftstill exposescmdandsyft-version. The newruninput defaults todownload-syft, so the existing step needs no new inputs.Left out
exhaustruct→exhaustruct_v5. Lint still reports 0 issues and prints a deprecation warning. v5 renamesexcludetoignore-patternsand changes how wide the check is, so switching it is a lint-behavior change rather than a dependency bump.golang.org/x/textv0.33.0 andgolang.org/x/sysv0.40.0. govulncheck lists GO-2026-5970, GO-2026-6629, and GO-2026-5024 (Windows-only) and reports them as not called. They stay indirect.Verification
go build ./...go vet ./...go test -raceon the same package set as CIgolangci-lint2.15.0: 0 issues (exhaustruct deprecation warning only)govulncheck ./...: 0 reachable vulnerabilities.husky/commit-msg: conventional message exits 0; a non-conventional message exits 1. Recent subjects onmasterstill pass.go generate ./...and docgen produced no diff