update kubeconform workflow to install findutils and improve manifest validation command
Some checks failed
Validate Kubernetes Manifests / kubeconform (pull_request) Failing after 48s
Some checks failed
Validate Kubernetes Manifests / kubeconform (pull_request) Failing after 48s
This commit is contained in:
@@ -12,10 +12,10 @@ jobs:
|
||||
steps:
|
||||
- name: Setup environment
|
||||
run: |
|
||||
pacman -Syu --noconfirm kubeconform git
|
||||
pacman -Syu --noconfirm kubeconform git findutils
|
||||
- name: Checkout code
|
||||
run: |
|
||||
git clone https://gitea.akshun-lab.cc/aggarwalakshun/k3s.git /mnt
|
||||
- name: Validate Manifests
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user