Bump github.com/ironcore-dev/controller-utils from 0.9.4 to 0.9.6 #49
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: Check Codegen | |
on: | |
pull_request: | |
paths-ignore: | |
- 'docs/**' | |
- '**/*.md' | |
jobs: | |
check-codegen: | |
name: check-codegen | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Setup Go Environment | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: 'go.mod' | |
- name: Run make generate | |
run: make generate | |
- name: Compare the expected and actual generated/* directories | |
run: | | |
if [ "$(git diff | wc -l)" -gt "0" ]; then | |
echo "Detected uncommitted changes after build. Consider running 'make generate'." | |
echo "See status below:" | |
git diff | |
exit 1 | |
fi |