gitops/.forgejo/workflows/validate.yaml
jad0s c9700654f7
All checks were successful
/ validate (push) Successful in 4s
fix(actions): switch from curl to wget
2026-05-19 19:37:52 +02:00

26 lines
728 B
YAML

on:
push:
branches:
- dev
jobs:
validate:
runs-on: docker
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install kubeconform
run: |
wget -O- https://github.com/yannh/kubeconform/releases/latest/download/kubeconform-linux-amd64.tar.gz | tar xz
mv kubeconform /usr/local/bin
- name: Validate manifests
run: |
kubeconform \
-strict \
-summary \
-ignore-missing-schemas \
-schema-location default \
-schema-location 'https://raw.githubusercontent.com/datreeio/CRDs-catalog/main/{{.Group}}/{{.ResourceKind}}_{{.ResourceAPIVersion}}.json' \
./manifests/