From 821e37278871c2ea831c08cc80d36a8e4385e2a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sz=C3=A9pe?= Date: Sun, 1 Dec 2024 03:34:16 +0100 Subject: [PATCH] Check source code for syntax errors --- .github/workflows/tests.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index cf8a654..b080cc5 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -32,6 +32,7 @@ jobs: php-version: ${{ matrix.php }} ini-file: development coverage: none + tools: parallel-lint - name: Get Composer cache directory id: composer-cache @@ -43,6 +44,9 @@ jobs: path: ${{ steps.composer-cache.outputs.dir }} key: ${{ runner.os }}-composer-${{ matrix.php }}-${{ hashFiles('composer.json') }} + - name: Check source code for syntax errors + run: composer exec --no-interaction -- parallel-lint bin/ src/ tests/ + - name: Install PHP Dependencies run: | composer install --prefer-dist --no-progress --no-interaction