From c5a58edde3ce99d6e69ed17392acff6df3676329 Mon Sep 17 00:00:00 2001 From: danielkubat Date: Fri, 11 Dec 2020 12:42:11 +0100 Subject: [PATCH] YAMLlint CI added --- .github/workflows/yamllint.yml | 21 +++++++++++++++++++++ .yamllint | 7 +++++++ 2 files changed, 28 insertions(+) create mode 100644 .github/workflows/yamllint.yml create mode 100644 .yamllint diff --git a/.github/workflows/yamllint.yml b/.github/workflows/yamllint.yml new file mode 100644 index 0000000..a7bf7fe --- /dev/null +++ b/.github/workflows/yamllint.yml @@ -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 diff --git a/.yamllint b/.yamllint new file mode 100644 index 0000000..0f25798 --- /dev/null +++ b/.yamllint @@ -0,0 +1,7 @@ +--- +extends: default + +rules: + line-length: + max: 160 + level: warning