ci: pin go directive to block accidental version bumps

Parent Issue: #133 (closed)

The go directive sets the minimum Go version required to build each module, an accidental bump forces every downstream consumer to upgrade Go.

This MR:

  • Adds scripts/check-go-version.sh, which verifies the go directive in both modules against pinned constants, and a blocking check-go-version CI job. Deliberate changes must also update the values in ./scripts/check-go-verison.sh
  • Updates AGENTS.md with guidance to never bump a module's go version without human approval.

Note: This MR temporarily pins us to non-zero patch version. We need to downgrade back to 1.25.0; which will land in follow up MRs.

Edited by Luke Hollinda

Merge request reports

Loading
Loading