Skip to content

Commit f38c42b

Browse files
authored
Update ci.yml
1 parent 12336bf commit f38c42b

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,18 @@ jobs:
1010
runs-on: ubuntu-latest
1111
strategy:
1212
matrix:
13-
php: ['7.4', '8.0']
13+
php: ['7.4', '8.0', '8.1']
1414
steps:
15+
- name: Setup PHP
16+
uses: shivammathur/setup-php@v2
17+
with:
18+
php-version: ${{ matrix.php }}
1519
- uses: actions/checkout@v3
1620
- name: Install dependencies
1721
run: composer install --no-interaction --no-progress
1822
- name: Run tests
19-
run: php${{ matrix.php }} vendor/bin/phpunit --configuration Tests/phpunit.xml --verbose --fail-on-warning
23+
run: php vendor/bin/phpunit --configuration Tests/phpunit.xml --verbose --fail-on-warning
2024
- name: Run phpstan
21-
run: php${{ matrix.php }} vendor/bin/phpstan
25+
run: php vendor/bin/phpstan
2226
- name: Run psalm
23-
run: php${{ matrix.php }} vendor/bin/psalm
27+
run: php vendor/bin/psalm

0 commit comments

Comments
 (0)