Files
k3s/.gitea/workflows/kubeconform.yml
aggarwalakshun 8cf09a25a3
Some checks failed
Validate Kubernetes Manifests / kubeconform (pull_request) Failing after 48s
update kubeconform workflow to install findutils and improve manifest validation command
2025-12-03 12:22:47 +05:30

22 lines
638 B
YAML

name: Validate Kubernetes Manifests
on:
pull_request:
branches: [ main]
jobs:
kubeconform:
runs-on: ubuntu-latest
container:
image: docker.io/archlinux/archlinux:latest
steps:
- name: Setup environment
run: |
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: |
find /mnt -type f \( -iname "*.yml" -o -iname "*.yaml" \) -print0 | xargs -0 --no-run-if-empty kubeconform -verbose -summary -schema-location default