forked from ab/homelab
23 lines
587 B
YAML
23 lines
587 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/
|
|
- name: 'Yamllint'
|
|
uses: karancode/yamllint-github-action@master
|
|
continue-on-error: true
|
|
with:
|
|
yamllint_file_or_dir: 'k8s/'
|
|
yamllint_strict: false
|