Prepare release 0.145.1 #1673
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: kubeconform | |
| on: | |
| pull_request: | |
| push: | |
| branches: [main] | |
| tags: | |
| - "v[0-9]+.[0-9]+.[0-9]+*" | |
| jobs: | |
| get-test-matrix: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6 | |
| - name: get matrix | |
| id: test_matrix | |
| run: | | |
| echo "Getting test matrix" | |
| matrix=`cat ci-matrix.json | jq '.kubeconform_tests' | jq -r 'tostring' | tr -d '\n'` | |
| echo "matrix=${matrix}" >> $GITHUB_OUTPUT | |
| outputs: | |
| matrix: ${{ steps.test_matrix.outputs.matrix }} | |
| kubeconform: | |
| runs-on: ubuntu-latest | |
| needs: get-test-matrix | |
| strategy: | |
| matrix: ${{ fromJSON(needs.get-test-matrix.outputs.matrix) }} | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Install kubeconform | |
| run: | | |
| curl -L -o kubeconform.tar.gz https://github.com/yannh/kubeconform/releases/latest/download/kubeconform-linux-amd64.tar.gz | |
| tar -xzf kubeconform.tar.gz | |
| sudo mv kubeconform /usr/local/bin/ | |
| echo "done" | |
| - name: Run kubeconform on rendered examples | |
| run: | | |
| make kubeconform K8S_VERSION="${{ matrix.k8s_version }}" |