Skip to content

Commit d5222c1

Browse files
committed
ci: run PHPStan using the lowest and highest php version
1 parent c9f00de commit d5222c1

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/workflows/phpstan.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,22 +12,28 @@ env:
1212
COMPOSER_FLAGS: "--ansi --no-interaction --no-progress --prefer-dist"
1313

1414
jobs:
15-
tests:
15+
phpstan:
1616
name: "PHPStan"
1717

1818
runs-on: ubuntu-latest
1919

20+
strategy:
21+
matrix:
22+
php-version:
23+
- "7.2"
24+
- "8.4"
25+
2026
steps:
2127
- name: "Checkout"
2228
uses: "actions/checkout@v4"
2329

2430
- name: "Install PHP"
2531
uses: "shivammathur/setup-php@v2"
2632
with:
27-
coverage: "none"
33+
php-version: "${{ matrix.php-version }}"
2834
extensions: "intl, zip"
2935
ini-values: "memory_limit=-1"
30-
php-version: "7.2"
36+
coverage: "none"
3137

3238
- name: "Update dependencies"
3339
run: "composer update ${{ env.COMPOSER_FLAGS }}"

0 commit comments

Comments
 (0)