fix: resolve cves and upgrade go to 1.25#399
Merged
Conversation
Contributor
|
@freeznet:Thanks for your contribution. For this PR, do we need to update docs? |
Contributor
There was a problem hiding this comment.
Pull request overview
This PR upgrades the repository’s Go toolchain and refreshes Go module dependencies to address security advisories (CVEs).
Changes:
- Bump Go version to
1.25.9acrossgo.mod,go.work, CI workflows, and build Dockerfiles. - Update Go dependencies (and corresponding
go.sumfiles) in both the root module andtestsmodule. - Update GitHub Actions Go setup to use
actions/setup-go@v5withgo-version-file: go.work.
Reviewed changes
Copilot reviewed 9 out of 11 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
go.mod |
Updates Go version and dependency versions to incorporate security fixes. |
go.sum |
Refreshes dependency checksums after module upgrades. |
go.work |
Aligns workspace Go version with the upgraded toolchain. |
tests/go.mod |
Updates Go version and indirect dependencies for the tests module. |
tests/go.sum |
Refreshes dependency checksums for the tests module. |
Dockerfile |
Updates builder image to Go 1.25.9 on Alpine 3.22. |
redhat.Dockerfile |
Updates builder image to Go 1.25.9 on Alpine 3.22. |
.github/workflows/style.yml |
Uses setup-go@v5 and reads Go version from go.work. |
.github/workflows/release-operator.yml |
Uses setup-go@v5 and reads Go version from go.work. |
.github/workflows/golangci-lint.yml |
Uses setup-go@v5 and reads Go version from go.work. |
.github/workflows/e2e_test.yml |
Uses setup-go@v5 and reads Go version from go.work. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
jiangpengcheng
approved these changes
Apr 14, 2026
freeznet
added a commit
that referenced
this pull request
Apr 16, 2026
* build: upgrade Go to 1.25.9 and update dependencies * chore(release-operator): update Go version and workflow steps * ci: upgrade golangci-lint to v2.11.4 and update config * ci(workflows): update golangci-lint action to v7
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.
(If this PR fixes a github issue, please add
Fixes #<xyz>.)Fixes #
(or if this PR is one task of a github issue, please add
Master Issue: #<xyz>to link to the master issue.)Master Issue: #
Motivation
Explain here the context, and why you're making that change. What is the problem you're trying to solve.
Modifications
Describe the modifications you've done.
Verifying this change
(Please pick either of the following options)
This change is a trivial rework / code cleanup without any test coverage.
(or)
This change is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)
Documentation
Check the box below.
Need to update docs?
doc-required(If you need help on updating docs, create a doc issue)
no-need-doc(Please explain why)
doc(If this PR contains doc changes)