oscerd opened a new pull request, #2924: URL: https://github.com/apache/camel-kamelets/pull/2924
## CI Fix **Failed runs:** - `Build Regen` on `main` (broken since #2909 merged): https://github.com/apache/camel-kamelets/actions/runs/29242574108 - `validate` on PR #2904: https://github.com/apache/camel-kamelets/actions/runs/28943759525/job/85872217216 ### Errors Found ``` go: go.mod requires go >= 1.25.0 (running go 1.24.13; GOTOOLCHAIN=local) go: module ../../crds requires go >= 1.25.0 (running go 1.24.13; GOTOOLCHAIN=local) ``` The Dependabot bumps of `golang.org/x/net` 0.40.0 → 0.55.0 raise the `go` directive to `1.25.0` in each Go module (`script/generator` already on main via #2909; `/crds` pending in #2904; `/script/validator` pending in #2901), but `actions/setup-go` was pinned to `go-version: 1.24.x` and v6 sets `GOTOOLCHAIN=local`, which forbids toolchain auto-upgrade. This currently breaks the `Run Generator` step of `main-push-regen.yaml` on every push to `main`, and the `validate` job on the pending Dependabot PRs. ### Fix Applied - Bump `go-version: 1.24.x` → `1.25.x` in `.github/workflows/validate.yaml` and `.github/workflows/main-push-regen.yaml`. Go 1.25 still builds the `go 1.24.6` modules, so this is safe to merge ahead of the remaining Dependabot PRs. Verified locally with a ≥1.25 toolchain and `GOTOOLCHAIN=local`: the generator module on main builds, and `go run . ../../kamelets/` (the exact `validate` command) passes on PR #2904 content once the validator module is aligned by #2901. ### Suggested merge order for the pending Dependabot PRs 1. This PR 2. `@dependabot rebase` #2901 (validator) → merge — its diff already carries the `go 1.25.0` directive and `x/net`/`x/text` bumps the module graph needs 3. `@dependabot rebase` #2904 (crds) → merge — its `validate` only goes green after #2901, because the validator's `go.mod` must record `x/net v0.55.0` selected via the local `../../crds` replace ### Deferred Issues None — single root cause. 🤖 Generated with [Claude Code](https://claude.com/claude-code) on behalf of Andrea Cosentino (@oscerd) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
