Add .gitea/workflows/lint.yaml
All checks were successful
Lint and Check / lint (push) Successful in 6s
All checks were successful
Lint and Check / lint (push) Successful in 6s
This commit is contained in:
22
.gitea/workflows/lint.yaml
Normal file
22
.gitea/workflows/lint.yaml
Normal file
@ -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
|
Reference in New Issue
Block a user