Skip to content

Commit e6a2478

Browse files
committed
GA: phpstan & tests running for PHP 8.1 as well (related to #162)
1 parent 24ff74c commit e6a2478

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

.github/workflows/static-analysis.yml

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

55
jobs:
66
phpstan:
7-
name: PHPStan
87
runs-on: ubuntu-latest
8+
strategy:
9+
matrix:
10+
php: ['7.2', '7.3', '7.4', '8.0', '8.1']
11+
12+
fail-fast: false
13+
14+
name: PHP ${{ matrix.php }} PHPStan
915
steps:
1016
- uses: actions/checkout@v2
1117
- uses: shivammathur/setup-php@v2
1218
with:
13-
php-version: 7.4
19+
php-version: ${{ matrix.php }}
1420
coverage: none
1521

1622
- run: composer install --no-interaction

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ubuntu-latest
88
strategy:
99
matrix:
10-
php: ['7.2', '7.3', '7.4', '8.0']
10+
php: ['7.2', '7.3', '7.4', '8.0', '8.1']
1111

1212
fail-fast: false
1313

0 commit comments

Comments
 (0)