chore: bump Go to 1.25.9 to resolve CVE-2026-32281, CVE-2026-32288, CVE-2026-32289 #92
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: 'Ensure codegen works' | |
| on: [pull_request] | |
| permissions: | |
| contents: read | |
| jobs: | |
| verify-codegen: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Harden Runner | |
| uses: step-security/harden-runner@fe104658747b27e96e4f7e80cd0a94068e53901d # v2.16.1 | |
| with: | |
| egress-policy: audit | |
| - name: Checkout | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| fetch-depth: 0 | |
| persist-credentials: false | |
| - uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0 | |
| with: | |
| go-version-file: "go.mod" | |
| - name: Run codegens | |
| run: | | |
| make generate-protobuf | |
| make manifests | |
| - name: Verify git output | |
| shell: bash | |
| run: | | |
| if [ -n "$(git status -s)" ]; then | |
| echo 'Detected code generation changes' | |
| echo 'Make sure to run `make generate` and `make manifests` and commit those changes' | |
| git diff | |
| exit 1 | |
| fi |