Skip to content

Commit bbdc580

Browse files
Update: include php 8.2 in workflow
1 parent ccdddd3 commit bbdc580

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
fail-fast: true
1414
matrix:
1515
os: [ubuntu-latest]
16-
php: [8.1, 8.0]
16+
php: [8.2, 8.1, 8.0]
1717
laravel: [9.*, 8.*, 7.*]
1818
stability: [prefer-lowest, prefer-stable]
1919
include:
@@ -26,6 +26,8 @@ jobs:
2626
exclude:
2727
- laravel: 7.*
2828
php: 8.1
29+
- laravel: 7.*
30+
php: 8.2
2931

3032
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
3133

@@ -46,7 +48,7 @@ jobs:
4648
echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
4749
- name: Install dependencies
4850
run: |
49-
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
51+
composer require "laravel/framework:${{ matrix.laravel }}" "nesbot/carbon:^2.64" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
5052
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
5153
- name: Execute tests
5254
run: vendor/bin/phpunit

0 commit comments

Comments
 (0)