ci: use go-version 1.26 in scan-vulns workflow - #2861
Merged
Conversation
fseldow
requested review from
binbin-li,
jimmyraywv,
luisdlp,
susanshi and
toddysm
as code owners
July 30, 2026 08:29
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the scan-vulns GitHub Actions workflow to track the latest Go 1.26.x patch automatically for the govulncheck job, reducing maintenance overhead while keeping vulnerability scanning current.
Changes:
- Switch
actions/setup-gofrom a pinned patch version (1.26.4) to minor-only (1.26) for thegovulncheckjob. - Retain
check-latest: trueso the workflow resolves to the newest available 1.26.x patch.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2861 +/- ##
=======================================
Coverage 76.37% 76.37%
=======================================
Files 88 88
Lines 4000 4000
=======================================
Hits 3055 3055
Misses 799 799
Partials 146 146 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Use the minor-version-only go-version "1.26" for the govulncheck job so the workflow picks up the latest 1.26.x patch automatically instead of pinning a specific patch release. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Signed-off-by: Xinhe Li <fseldow@users.noreply.github.com> Signed-off-by: xinhl <xinhl@microsoft.com>
fseldow
force-pushed
the
fseldow/scan-vulns-go-1.26
branch
from
July 30, 2026 08:31
d495193 to
cb5e81f
Compare
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.
Summary
Use the minor-version-only
go-version: "1.26"for the govulncheck job in the scan-vulns workflow instead of pinning a specific patch release. This lets the workflow pick up the latest 1.26.x patch automatically..github/workflows/scan-vulns.yaml:1.26.4→1.26Extracted as a standalone change from #2730 to keep the Alpha.2 cleanup reviewable in smaller pieces.