forked from ab/homelab
18 lines
536 B
YAML
18 lines
536 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: kubeconform -summary -verbose -output pretty -ignore-missing-schemas -skip '.*values\.yaml$' k8s/
|
|
run: find . -name '*.yaml' ! -name 'values.yaml' -print0 | xargs -0 kubeconform -summary -verbose -output pretty -ignore-missing-schemas
|