chore(deps): bump Go to 1.26.6 to fix govulncheck stdlib findings - #5639
Closed
feitianbubu wants to merge 1 commit into
Closed
chore(deps): bump Go to 1.26.6 to fix govulncheck stdlib findings#5639feitianbubu wants to merge 1 commit into
feitianbubu wants to merge 1 commit into
Conversation
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.
问题
CI 的 Security Scan(backend-security)目前在所有 PR 上失败:govulncheck 在 go1.26.5 标准库上报出 6 个漏洞,全部标注
Fixed in: …@go1.26.6:修改
Go 1.26.5 → 1.26.6,同步更新仓库内全部 8 处版本 pin:
backend/go.mod的go指令Dockerfile/deploy/Dockerfile的GOLANG_IMAGEARG、backend/Dockerfile的基础镜像(golang:1.26.6-alpine已在 Docker Hub 发布,已确认)backend-ci.yml(2 处)、security-scan.yml、release.yml的「Verify Go version」grep验证
govulncheck ./...(CI 同款命令)在 1.26.6 下输出No vulnerabilities found,退出码 0。go test -tags=unit ./...全部通过。