Skip to content

ci: use go-version 1.26 in scan-vulns workflow - #2861

Merged
fseldow merged 1 commit into
notaryproject:mainfrom
fseldow:fseldow/scan-vulns-go-1.26
Jul 30, 2026
Merged

ci: use go-version 1.26 in scan-vulns workflow#2861
fseldow merged 1 commit into
notaryproject:mainfrom
fseldow:fseldow/scan-vulns-go-1.26

Conversation

@fseldow

@fseldow fseldow commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

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.41.26

Extracted as a standalone change from #2730 to keep the Alpha.2 cleanup reviewable in smaller pieces.

@fseldow
fseldow requested a review from akashsinghal as a code owner July 30, 2026 08:29
Copilot AI review requested due to automatic review settings July 30, 2026 08:29
@github-actions github-actions Bot added the v2 label Jul 30, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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-go from a pinned patch version (1.26.4) to minor-only (1.26) for the govulncheck job.
  • Retain check-latest: true so 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

codecov Bot commented Jul 30, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 76.37%. Comparing base (78cbb14) to head (cb5e81f).

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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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
fseldow force-pushed the fseldow/scan-vulns-go-1.26 branch from d495193 to cb5e81f Compare July 30, 2026 08:31
@fseldow
fseldow merged commit 0117d70 into notaryproject:main Jul 30, 2026
20 checks passed
@fseldow
fseldow deleted the fseldow/scan-vulns-go-1.26 branch July 30, 2026 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants