diff --git a/.gitea/workflows/lint.yaml b/.gitea/workflows/lint.yaml new file mode 100644 index 0000000..ae15c59 --- /dev/null +++ b/.gitea/workflows/lint.yaml @@ -0,0 +1,22 @@ +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 k8s/ + - name: 'Yamllint' + uses: karancode/yamllint-github-action@master + continue-on-error: true + with: + yamllint_file_or_dir: 'k8s/' + yamllint_strict: false