Update .gitea/workflows/lint.yaml

This commit is contained in:
ab
2025-04-13 10:43:40 +00:00
parent 78f8ca13a5
commit 1793648f4d

View File

@ -1,4 +1,4 @@
name: Lint and Check
name: Check with kubeconform
on:
push:
@ -13,10 +13,13 @@ jobs:
name: Setup Kubeconform
- name: Kubeconform
continue-on-error: true
run: find . \
-name '*.yaml' \
! -name '*values.yaml' \
! -path './.gitea/*' -print0 | \
xargs -0 kubeconform -summary -verbose -output pretty -ignore-missing-schemas \
-schema-location "https://raw.githubusercontent.com/jetstack/cert-manager/master/deploy/crds/{{ .Group }}_{{ .Version }}_{{ .Kind }}.json"
run: |
find . -name '*.yaml' \
! -name '*values.yaml' \
! -path './.gitea/*' \
-print0 \
| xargs -0 kubeconform \
-summary \
-verbose \
-output pretty \
-ignore-missing-schemas