Skip to content

fix: bump Go version in generate-catalog workflow to 1.25#738

Open
JaydipGabani wants to merge 1 commit intoopen-policy-agent:masterfrom
JaydipGabani:fix/bump-go-version-generate-catalog
Open

fix: bump Go version in generate-catalog workflow to 1.25#738
JaydipGabani wants to merge 1 commit intoopen-policy-agent:masterfrom
JaydipGabani:fix/bump-go-version-generate-catalog

Conversation

@JaydipGabani
Copy link
Copy Markdown
Contributor

Problem

The generate_catalog workflow fails on all PRs with:

go: go.mod requires go >= 1.25.0 (running go 1.24.13; GOTOOLCHAIN=local)

This is because gatekeeper master's go.mod now requires go 1.25.0, but the workflow installs Go 1.24.

Fix

Bump go-version from "1.24" to "1.25" in .github/workflows/generate-catalog.yaml.

Impact

This is a one-line change that unblocks all PRs. No functional changes.

Gatekeeper master's go.mod now requires go >= 1.25.0. The generate-catalog
workflow was using go 1.24, causing 'go.mod requires go >= 1.25.0' failures
when building gator from gatekeeper master.

Signed-off-by: Jaydip Gabani <gabanijaydip@gmail.com>
@JaydipGabani JaydipGabani requested a review from a team as a code owner March 17, 2026 01:29
Copilot AI review requested due to automatic review settings March 17, 2026 01:29
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

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 generate_catalog GitHub Actions workflow to use a Go toolchain version compatible with Gatekeeper’s current go.mod requirement, unblocking the workflow on PRs.

Changes:

  • Bump actions/setup-go go-version from 1.24 to 1.25 in the generate_catalog workflow.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

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.

2 participants