Skip to content

Commit 04b06e7

Browse files
Support PHP 8.1 (#43)
1 parent 0b00055 commit 04b06e7

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/ci.yml

+7-3
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
uses: actions/checkout@v2
2424

2525
- name: Install dependencies
26-
run: composer update --no-interaction --prefer-stable --prefer-lowest --no-progress --prefer-dist
26+
run: composer update --no-interaction --prefer-stable --prefer-lowest --no-progress
2727

2828
- name: Run tests
2929
run: make test
@@ -34,7 +34,7 @@ jobs:
3434
strategy:
3535
max-parallel: 10
3636
matrix:
37-
php: ['7.2', '7.3', '7.4', '8.0']
37+
php: ['7.2', '7.3', '7.4', '8.0', '8.1']
3838

3939
steps:
4040
- name: Set up PHP
@@ -47,8 +47,12 @@ jobs:
4747
- name: Checkout code
4848
uses: actions/checkout@v2
4949

50+
- name: Mimic PHP 8.0
51+
run: composer config platform.php 8.0.999
52+
if: matrix.php > 8
53+
5054
- name: Install dependencies
51-
run: composer update --no-interaction --no-progress --prefer-dist
55+
run: composer update --no-interaction --no-progress
5256

5357
- name: Run tests
5458
run: make test

0 commit comments

Comments
 (0)