chore(deps): bump github.com/cert-manager/cert-manager from 1.15.3 to 1.16.1 in /cli #2568
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.22" | |
- 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 |