Skip to content

Fix CI: resolve Go version mismatch between workflow and go.mod#1086

Closed
Copilot wants to merge 4 commits into3.xfrom
copilot/fix-github-action-failure
Closed

Fix CI: resolve Go version mismatch between workflow and go.mod#1086
Copilot wants to merge 4 commits into3.xfrom
copilot/fix-github-action-failure

Conversation

Copy link

Copilot AI commented Mar 12, 2026

go-version: '1.25' in the workflow resolves to Go 1.25.7 on the runner, but go.mod on the PMM-7-go-bump branch requires >= 1.25.8. With GOTOOLCHAIN=local, Go hard-fails rather than auto-downloading a newer toolchain.

Changes

  • .github/workflows/toolkit.yml: Replace go-version: '1.25' with go-version-file: 'go.mod' so setup-go installs exactly the version declared in go.mod, eliminating drift on future Go bumps
  • .github/workflows/toolkit.yml: Update aquasecurity/trivy-action from 0.34.00.35.0 to fix a broken Trivy v0.69.1 binary download that was failing the vulnerability scanner step

🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.

@it-percona-cla
Copy link

it-percona-cla commented Mar 12, 2026

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

✅ ademidoff
❌ Copilot
You have signed the CLA already but the status is still pending? Let us recheck it.

Co-authored-by: ademidoff <81549+ademidoff@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix failure in GitHub action Fix CI: update trivy-action to 0.35.0 Mar 12, 2026
Co-authored-by: ademidoff <81549+ademidoff@users.noreply.github.com>
Copilot AI changed the title Fix CI: update trivy-action to 0.35.0 Fix CI: resolve Go version mismatch between workflow and go.mod Mar 12, 2026
@it-percona it-percona temporarily deployed to copilot/fix-github-action-failure - percona-toolkit PR #1086 March 12, 2026 12:39 — with Render Destroyed
@ademidoff ademidoff closed this Mar 12, 2026
@ademidoff ademidoff deleted the copilot/fix-github-action-failure branch March 12, 2026 12:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants