Skip to content

Commit fe2bb25

Browse files
authored
Add PHP 8.2 Support (#75)
* add php 8.2 to workflow * exclude laravel 7 with php 8.2 in tests
1 parent bac1329 commit fe2bb25

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/run-tests.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
fail-fast: false
1010
matrix:
1111
os: [ubuntu-latest]
12-
php: [8.0, 8.1]
12+
php: [8.2, 8.1, 8.0]
1313
laravel: [7.*, 8.*, 9.*]
1414
dependency-version: [prefer-stable]
1515
include:
@@ -20,6 +20,8 @@ jobs:
2020
- laravel: 7.*
2121
testbench: 5.*
2222
exclude:
23+
- laravel: 7.*
24+
php: 8.2
2325
- laravel: 7.*
2426
php: 8.1
2527

@@ -38,7 +40,7 @@ jobs:
3840

3941
- name: Install dependencies
4042
run: |
41-
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
43+
composer require "laravel/framework:${{ matrix.laravel }}" "nesbot/carbon:^2.63" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
4244
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction
4345
4446
- name: Execute tests

0 commit comments

Comments
 (0)