Some checks failed
Validate Kubernetes Manifests / kubeconform (pull_request) Failing after 48s
22 lines
638 B
YAML
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
|