Repository navigation
build: add govulncheck and golangci-lint CI jobs, bump Go to 1.26.9 - #2
Merged
Merged
Conversation
Go 1.26.4 stdlib had 15 reachable vulnerabilities fixed in 1.26.9; bump go.mod and the workflow. Lint uses a minimal config (govet, staticcheck, ineffassign, errcheck) with errcheck exempting best-effort Close/Remove paths and tests.
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.
Follow-up to the initial CI (#1): adds the two jobs that were deferred.
@v1.9.0): was red on Go 1.26.4 (15 reachable stdlib vulns). Bumpedgo.mod+ workflow to 1.26.9 (latest 1.26.x patch), wheregovulncheck ./...reports No vulnerabilities found (verified locally). No dependency vulns remain.golangci-lint-action@v9, v2.15.0): added.golangci.ymlenabling govet, staticcheck, ineffassign, errcheck, with errcheck exclusions for the deliberate fire-and-forgetClose/os.Remove/Encodecalls in durability code and test files skipped.golangci-lint run ./...→ 0 issues locally.go build/go vet/go test -race ./...all pass after the bump. Dockerfile stays ongolang:1.26.No application code changed.