Skip to content

Commit 593c3cd

Browse files
committed
update phpstan for multi version
1 parent d8b2bd9 commit 593c3cd

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/phpstan.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,21 @@ on: [push, pull_request]
44

55
jobs:
66
phpstan:
7-
runs-on: ubuntu-latest
7+
runs-on: ${{ matrix.os }}
8+
name: PHPStan - P${{ matrix.php }}
9+
10+
strategy:
11+
matrix:
12+
os: [ ubuntu-latest ]
13+
php: [ '8.1', '8.2', '8.3' ]
814

915
steps:
1016
- uses: actions/checkout@v4
1117

1218
- name: Setup PHP
1319
uses: shivammathur/setup-php@2.26.0
1420
with:
15-
php-version: '8.1'
21+
php-version: ${{ matrix.php }}
1622

1723
- name: Checkout code
1824
uses: actions/checkout@v4

0 commit comments

Comments
 (0)