update kubeconform workflow to install findutils and improve manifest validation command
Some checks failed
Validate Kubernetes Manifests / kubeconform (pull_request) Failing after 48s

This commit is contained in:
2025-12-03 12:22:47 +05:30
parent 6700fd5efc
commit 8cf09a25a3

View File

@@ -12,10 +12,10 @@ jobs:
steps: steps:
- name: Setup environment - name: Setup environment
run: | run: |
pacman -Syu --noconfirm kubeconform git pacman -Syu --noconfirm kubeconform git findutils
- name: Checkout code - name: Checkout code
run: | run: |
git clone https://gitea.akshun-lab.cc/aggarwalakshun/k3s.git /mnt git clone https://gitea.akshun-lab.cc/aggarwalakshun/k3s.git /mnt
- name: Validate Manifests - name: Validate Manifests
run: | run: |
kubeconform -verbose -summary -schema-location default /mnt/**/*.yml find /mnt -type f \( -iname "*.yml" -o -iname "*.yaml" \) -print0 | xargs -0 --no-run-if-empty kubeconform -verbose -summary -schema-location default