Skip to content

Commit 0e48798

Browse files
committed
Run testsuite on PHP 8.1
1 parent d5735ff commit 0e48798

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ jobs:
88
strategy:
99
fail-fast: false
1010
matrix:
11-
php-version: ['7.2', '7.4', '8.0']
11+
php-version: ['7.4', '8.0', '8.1']
1212
composer-opts: ['']
1313
include:
1414
- php-version: '7.1'
1515
composer-opts: '--prefer-lowest'
1616

1717
steps:
18-
- uses: actions/checkout@v2
18+
- uses: actions/checkout@v3
1919

2020
- name: Setup PHP
2121
uses: shivammathur/setup-php@v2
@@ -25,7 +25,7 @@ jobs:
2525

2626
- name: Composer install
2727
run: |
28-
if [[ ${{ matrix.php-version }} == '8.0' ]]; then
28+
if [[ ${{ matrix.php-version }} == '8.0' || ${{ matrix.php-version }} == '8.1' ]]; then
2929
composer remove --dev squizlabs/php_codesniffer phpstan/phpstan-shim phpunit/phpunit
3030
composer require --dev phpunit/phpunit:^8.5
3131
else
@@ -51,7 +51,7 @@ jobs:
5151
runs-on: ubuntu-18.04
5252

5353
steps:
54-
- uses: actions/checkout@v2
54+
- uses: actions/checkout@v3
5555

5656
- name: Setup PHP
5757
uses: shivammathur/setup-php@v2
@@ -68,4 +68,4 @@ jobs:
6868

6969
- name: Run phpstan
7070
if: success() || failure()
71-
run: vendor/bin/phpstan.phar analyse src/ tests/ --no-progress --level 2
71+
run: vendor/bin/phpstan.phar analyse src/ tests/ --no-progress --level 2

0 commit comments

Comments
 (0)