From dc770098f0400be2377c7dcb58b273104522f575 Mon Sep 17 00:00:00 2001 From: Benny Baumann Date: Wed, 17 Jul 2024 15:50:57 +0200 Subject: [PATCH] Add automatic PCP configuration file linting --- .github/workflows/ci.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4e8b4112d..465ef1746 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -322,9 +322,16 @@ jobs: ./configure --enable-unicode --enable-werror gmake -k - whitespace_check: + lint-whitespace: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: check-whitespaces run: git diff-tree --check $(git hash-object -t tree /dev/null) HEAD + + lint-pcp-config: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: check-pcp-style + run: ./check-pcp-style.sh