feature: Add render-diff tool to show kustomize render delta for PRs … #34
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: infra-tools CI | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - "infra-tools/**" | |
| pull_request: | |
| branches: | |
| - main | |
| paths: | |
| - "infra-tools/**" | |
| defaults: | |
| run: | |
| working-directory: infra-tools | |
| jobs: | |
| ci: | |
| name: CI | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version-file: infra-tools/go.mod | |
| cache-dependency-path: infra-tools/go.sum | |
| - name: Check go.mod and go.sum are tidy | |
| run: go mod tidy -diff | |
| - name: Run lint | |
| run: make lint | |
| - name: Run tests | |
| run: make test |