Feature: Add YAML linter
All checks were successful
Lint yaml / build-package (push) Successful in 14s
All checks were successful
Lint yaml / build-package (push) Successful in 14s
This commit is contained in:
21
.gitea/workflows/lint.yml
Normal file
21
.gitea/workflows/lint.yml
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
---
|
||||||
|
name: Lint yaml
|
||||||
|
on: [push]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build-package:
|
||||||
|
runs-on: imgbuilder
|
||||||
|
container:
|
||||||
|
image: gitea.konchin.com/image/yamllint:latest
|
||||||
|
credentials:
|
||||||
|
username: ${{ secrets.REGISTRY_USERNAME }}
|
||||||
|
password: ${{ secrets.REGISTRY_PASSWORD }}
|
||||||
|
options: |
|
||||||
|
--dns 192.168.68.254 --dns-search konchin.com --dns-option ndots:15
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Lint YAML
|
||||||
|
run: |
|
||||||
|
yamllint .
|
||||||
Reference in New Issue
Block a user