chore(deps): Bump the kubernetes group with 4 updates (#117) #420
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: CI | |
| on: | |
| pull_request: | |
| push: | |
| branches: [main] | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: actions/setup-go@v7 | |
| with: { go-version: "1.26" } | |
| - uses: golangci/golangci-lint-action@v9 | |
| with: { version: v2.12.2 } | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| k8s: ["1.28", "1.29", "1.30", "1.31", "1.32"] | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: actions/setup-go@v7 | |
| with: { go-version: "1.26" } | |
| - name: Run tests (k8s ${{ matrix.k8s }}) | |
| env: | |
| ENVTEST_K8S_VERSION: ${{ matrix.k8s }}.0 | |
| run: make test | |
| docs-build: | |
| name: Docs Build | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: actions/setup-python@v7 | |
| with: | |
| python-version: "3.12" | |
| cache: pip | |
| cache-dependency-path: docs-site/requirements.txt | |
| - name: Install docs deps | |
| run: pip install -r docs-site/requirements.txt | |
| - name: Build docs site (strict) | |
| run: mkdocs build --strict -f docs-site/mkdocs.yml | |
| - name: Upload built site as artifact | |
| if: github.event_name == 'pull_request' | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: docs-preview-${{ github.event.pull_request.number }} | |
| path: docs-site/site/ | |
| retention-days: 7 | |
| api-docs-sync: | |
| name: API Docs Sync | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: actions/setup-go@v7 | |
| with: { go-version: "1.26" } | |
| - name: Regenerate api-reference-generated.md | |
| run: make api-docs | |
| - name: Verify no drift | |
| run: | | |
| if ! git diff --exit-code docs/api-reference-generated.md; then | |
| echo "::error::docs/api-reference-generated.md is out of sync with the API types." | |
| echo "::error::Run 'make api-docs' locally and commit the result." | |
| exit 1 | |
| fi |