Repository navigation
build: bump Go toolchain 1.27.0 to 1.27.2 - #389
Merged
Merged
Conversation
go1.27.0 stdlib carries 12 reachable vulnerabilities (GO-2026-6617, GO-2026-6613, GO-2026-6612, GO-2026-6611, GO-2026-6610, GO-2026-6609, GO-2026-6608, GO-2026-6607, GO-2026-6605, GO-2026-6603, GO-2026-6600, GO-2026-6599), all fixed in go1.27.2. - go.mod: raise go directive to 1.27.2 - .github/workflows/ci.yml: bump go-version pins in all 3 jobs - .github/workflows/scheduled.yml: bump go-version pins in both jobs - .github/workflows/release.yml: bump go-version pin - Dockerfile: bump ARG GO_VERSION to 1.27.2 golangci-lint v2.13 cannot read the export data written by the go1.27.2 compiler and fails typecheck with "export data version 5 is greater than maximum supported version 4". v2.14.0 reads it and reports 0 issues with the unchanged .golangci.yml. - Makefile: bump GOLANGCI_VERSION to v2.14.0 - .github/workflows/ci.yml: bump golangci-lint-action version to v2.14 Fixes #388
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.
Closes #388
What
Bumps the Go toolchain from 1.27.0 to 1.27.2 in every place it is pinned:
go.mod(godirective)Dockerfile(ARG GO_VERSION).github/workflows/ci.yml(threesetup-gosteps).github/workflows/release.yml(onesetup-gostep).github/workflows/scheduled.yml(twosetup-gosteps)Also bumps golangci-lint from v2.13.1 to v2.14.0 in
Makefileand fromv2.13tov2.14inci.yml.Why
Go 1.27.2 is a security release. On 1.27.0
make govulncheckreports 12 standard library vulnerabilities reachable from our code, all fixed in 1.27.2. The list is in #388.Why golangci-lint moves too
golangci-lint v2.13.1 and v2.13.2 fail typecheck against the go1.27.2 toolchain:
Both bundle
golang.org/x/toolsv0.49.0. v2.14.0 bundles v0.50.0, reads the export data and reports 0 issues..golangci.ymlis unchanged.Verification
make cion go1.27.2: exit 0. That covers vet, build,go test -race, golangci-lint (0 issues), standalone gosec and govulncheck.golang:1.27.2-alpinetag exists on Docker Hub.Not verified locally: the Docker image build and the release workflow.
Follow-up
Published binaries and images are built with 1.27.0, so a release is needed for users to receive the fix.