bump go version to fix multiple CVEs
Description of the change: Update the go directive in go.mod from 1.24.6 to 1.24.10 to solve multiple issues described in https://github.com/operator-framework/operator-registry/issues/1841.
Motivation for the change: Internal security scanners flagged this repository for multiple CVEs. The Go team fixed this issue in Go 1.24.8 (and 1.25.2). Bumping to 1.24.10 ensures compliance and mitigates the vulnerability, closing https://github.com/operator-framework/operator-registry/issues/1841. I’m bumping Go to 1.24.10 instead of 1.24.8 because 1.24.10 is the latest patch release in the 1.24 line, so it includes all fixes from 1.24.8 plus additional bug and security fixes while staying within the same minor version. If you would prefer to update directly to Go 1.25.2, please let me know and I can adjust this PR to target that version instead.
Reviewer Checklist
- [ ] Implementation matches the proposed design, or proposal is updated to match implementation
- [ ] Sufficient unit test coverage
- [ ] Sufficient end-to-end test coverage
- [ ] Docs updated or added to
/docs - [ ] Commit messages sensible and descriptive
[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: Once this PR has been reviewed and has the lgtm label, please assign perdasilva for approval. For more information see the Code Review Process.
The full list of commands accepted by this bot can be found here.
Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment
Hi @ErickRDS. Thanks for your PR.
I'm waiting for a github.com member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
Once the patch is verified, the new status will be reflected by the ok-to-test label.
I understand the commands that are listed here.
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.
Codecov Report
:white_check_mark: All modified and coverable lines are covered by tests.
:white_check_mark: Project coverage is 57.50%. Comparing base (de37a21) to head (0475290).
Additional details and impacted files
@@ Coverage Diff @@
## master #1842 +/- ##
=======================================
Coverage 57.50% 57.50%
=======================================
Files 136 136
Lines 12934 12934
=======================================
Hits 7438 7438
Misses 4341 4341
Partials 1155 1155
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
:rocket: New features to boost your workflow:
- :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
/ok-to-test