Fixup e2e: wait for webhook to be ready #180
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
| name: Check Manifests | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| check-manifests: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Set up Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version-file: "go.mod" | |
| - name: Cache Go dependencies | |
| uses: actions/cache@v3 | |
| with: | |
| path: | | |
| ~/go/pkg/mod | |
| ~/.cache/go-build | |
| key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} | |
| restore-keys: | | |
| ${{ runner.os }}-go- | |
| - name: Install dependencies | |
| run: | | |
| go mod download | |
| go mod verify | |
| - name: Generate manifests and deepcopy | |
| run: make manifests && make generate | |
| - name: Check for uncommitted changes | |
| run: | | |
| if [[ $(git status --porcelain) ]]; then | |
| echo "There are uncommitted changes in the repository after generating manifests." | |
| echo "Please run 'make manifests' and/or 'make generate' locally and commit the changes." | |
| git status | |
| git diff | |
| exit 1 | |
| fi |