Skip to content

Commit a681d90

Browse files
staabmclxmstaab
andauthored
added build job against phpstan@dev (#403)
Co-authored-by: Markus Staab <[email protected]>
1 parent a620e0e commit a681d90

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/phpstan.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@ jobs:
1616
fail-fast: false
1717
matrix:
1818
include:
19+
- php-version: "8.0"
20+
db-image: 'mysql:8.0'
21+
reflector: "pdo-mysql"
22+
mode: "recording"
23+
phpstan-version: "@dev"
24+
1925
- php-version: "8.0"
2026
db-image: 'mysql:8.0'
2127
reflector: "pdo-mysql"
@@ -70,6 +76,11 @@ jobs:
7076
with:
7177
composer-options: "--prefer-dist --no-progress"
7278

79+
- name: Enable phpstan@dev
80+
if: "${{matrix.phpstan-version != ''}}"
81+
run: |
82+
composer update phpstan/phpstan:@dev
83+
7384
- name: Setup mysql
7485
run: |
7586
mysql -uroot -h127.0.0.1 -proot < tests/schema.sql

0 commit comments

Comments
 (0)