[addon-operator] bump kubernetes version 1.33.8 #2656
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
| # every push to a branch: build a binary | |
| name: Build | |
| on: | |
| pull_request: | |
| types: [opened, synchronize] | |
| jobs: | |
| build_binary: | |
| name: Build addon-operator binary | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Set up Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: '1.25.5' | |
| id: go | |
| - name: Check out addon-operator code | |
| uses: actions/checkout@v4 | |
| - name: Restore Go modules | |
| id: go-modules-cache | |
| uses: actions/cache@v4 | |
| with: | |
| path: | | |
| ~/go/pkg/mod | |
| key: ${{ runner.os }}-gomod-${{ hashFiles('go.mod', 'go.sum') }} | |
| restore-keys: | | |
| ${{ runner.os }}-gomod- | |
| - name: Check generated code is up to date | |
| run: | | |
| make generate | |
| git diff --exit-code || (echo 'Regenerated code does not match source, please run "make generate"' && exit 1) | |
| - name: Download Go modules | |
| if: steps.go-modules-cache.outputs.cache-hit != 'true' | |
| run: | | |
| go mod download | |
| echo -n "Go modules unpacked size is: " && du -sh $HOME/go/pkg/mod | |
| - name: Build binary | |
| run: |- | |
| export GOOS=linux | |
| go build ./cmd/addon-operator |