Skip to content

Commit

Permalink
Merge pull request #44 from szepeviktor/patch-1
Browse files Browse the repository at this point in the history
Check source code for syntax errors
  • Loading branch information
johnbillion authored Jan 2, 2025
2 parents ef9b110 + 821e372 commit 9a1b93a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 9a1b93a

Please sign in to comment.