From 506b9b00675ce4c79e3b53d9d64e22f103d0fafd Mon Sep 17 00:00:00 2001 From: ab Date: Sun, 13 Apr 2025 00:27:52 +0000 Subject: [PATCH] Add .gitea/workflows/lint.yaml --- .gitea/workflows/lint.yaml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .gitea/workflows/lint.yaml 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