zynaddsubfx

ZynAddSubFX open source synthesizer
Log | Files | Refs | Submodules | LICENSE

commit da1a658d77812fc2ac3f45f1ea9a7e07ffa2d361
parent 0e7678100a013124fafaed54781d29333cad90d3
Author: Johannes Lorenz <j.git@lorenz-ho.me>
Date:   Fri, 21 Feb 2025 18:45:23 +0100

Add yamllint to CI

Diffstat:
M.github/workflows/ccpp.yml | 2+-
A.github/workflows/checks.yml | 14++++++++++++++
A.yamllint | 3+++
3 files changed, 18 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml @@ -1,7 +1,7 @@ --- name: Build CI -on: +on: # yamllint disable-line rule:truthy push: pull_request: pull_request_review: diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml @@ -0,0 +1,14 @@ +--- +name: Scripted Checks +'on': [push, pull_request] +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true +jobs: + yamllint: + runs-on: ubuntu-latest + steps: + - name: Check out + uses: actions/checkout@v4 + - name: Run yamllint + run: for i in $(git ls-files '*.yml'); do yamllint $i; done diff --git a/.yamllint b/.yamllint @@ -0,0 +1,3 @@ +rules: + line-length: + max: 180 # to silence all warnings