Helmchart #3
Workflow file for this run
This file contains 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: Validate k8s manifests | |
on: | |
pull_request: | |
paths: | |
- "k8s/**" | |
branches: | |
- main | |
types: [opened, synchronize] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref }} | |
cancel-in-progress: true | |
jobs: | |
validate: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Set up Go environment | |
uses: actions/setup-go@v4 | |
with: | |
go-version: '1.22' | |
- name: Install kubeconform | |
run: go install github.com/yannh/kubeconform/cmd/kubeconform@latest | |
- name: Validate Kubernetes manifests | |
run: | | |
kubeconform -strict -ignore-missing-schemas -summary k8s/ |