Update E2E tests to Kubernetes v1.32 #3736
Workflow file for this run
This file contains 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: verify api CRDs | |
on: | |
pull_request: | |
jobs: | |
verify-api-crds: | |
defaults: | |
run: | |
working-directory: ./api | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: "1.23" | |
- name: install controller-gen | |
run: make controller-gen | |
- name: Check API CRDs | |
run: make generate && make manifests | |
- name: Verify Generate | |
run: | | |
if [[ $(git diff --exit-code) ]]; then | |
git diff | |
echo "api CRDs are not up to date. Please run 'make generate && make manifests' and commit the changes." | |
exit 1 | |
fi | |
- name: Generate client files | |
run: make generate-client | |
- name: Verify Generate | |
run: | | |
if [[ $(git diff --exit-code) ]]; then | |
git diff | |
echo "client files are not up to date. Please run 'make generate-client' and commit the changes." | |
exit 1 | |
fi |