YAMLlint CI added

This commit is contained in:
danielkubat 2020-12-11 12:42:11 +01:00
parent b0c2eb1abb
commit c5a58edde3
2 changed files with 28 additions and 0 deletions

21
.github/workflows/yamllint.yml vendored Normal file
View File

@ -0,0 +1,21 @@
---
# https://github.com/ibiqlik/action-yamllint
name: YAMLlint
on:
push:
paths:
- '**.yml'
- '**.yaml'
jobs:
yamllint:
runs-on: ubuntu-latest
timeout-minutes: 1
steps:
- name: Git checkout
uses: actions/checkout@v2
- name: yamllint
uses: ibiqlik/action-yamllint@v3

7
.yamllint Normal file
View File

@ -0,0 +1,7 @@
---
extends: default
rules:
line-length:
max: 160
level: warning