Repository navigation
build(deps): Bump azure/setup-helm from 5.0.0 to 5.0.1 #444
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: Check for diff after go mod tidy and generated targets | |
| on: | |
| pull_request: {} | |
| workflow_call: | |
| jobs: | |
| diff-check-manifests: | |
| name: Check for diff | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version-file: '${{ github.workspace }}/go.mod' | |
| - name: donwload modules | |
| run: | | |
| go mod download | |
| - name: Make manifests and make generate | |
| run: | | |
| make manifests && make generate | |
| - name: Check for diff | |
| run: | | |
| gitStatus="$(git status --porcelain)" | |
| if [[ -z "${gitStatus}" ]]; then | |
| exit 0 | |
| fi | |
| echo "${gitStatus}" | |
| exit 1 |