Files
homelab/.gitea/workflows/lint.yaml
2025-04-13 10:42:06 +00:00

23 lines
646 B
YAML

name: Lint and Check
on:
push:
branches: [ main ]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: bmuschko/setup-kubeconform@v1
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"