Skip to content

Commit 065fbe0

Browse files
committed
Add PHPStan to CI.
1 parent 8cc81d3 commit 065fbe0

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/quality-assurance.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,18 @@ jobs:
2323
tools: composer:v2
2424
- run: composer install --no-progress ${{ matrix.composer-flags }}
2525
- run: vendor/bin/phpunit ${{ matrix.phpunit-flags }}
26+
phpstan:
27+
name: PHPStan checks on ${{ matrix.php }}
28+
runs-on: ubuntu-latest
29+
strategy:
30+
matrix:
31+
php: [ '7.4', '8.0', '8.1', '8.2', '8.3', '8.4', '8.5' ]
32+
steps:
33+
- uses: actions/checkout@v2
34+
- uses: shivammathur/setup-php@v2
35+
with:
36+
php-version: ${{ matrix.php }}
37+
coverage: xdebug
38+
tools: composer:v2
39+
- run: composer install --no-progress
40+
- run: vendor/bin/phpstan

0 commit comments

Comments
 (0)