Skip to content

Commit 1a445d9

Browse files
Laravel 11 (#18)
* Laravel 11 * add php8.3, L11 to testing matrix * include testbench in L11 setup * composer update * update collision * try again * Revert "try again" This reverts commit a63d147. * fix collision dep for L10 * exclude P8.1 L11 from matix * adds macos to testing matrix * temporarily remove fail-fast * set minimum testbench version in L10 test matrix * add lowest valid canvas package version to test matrix * fix canvas version for L11 * bump minimum carbon version for test matrix * try again * update carbon version for testing matrix * update actions/checkout to v4 (node16->20) * re-enable fail-fast feature in CI * add missing version constraint --------- Co-authored-by: Len Woodward <[email protected]>
1 parent 3d89f45 commit 1a445d9

File tree

2 files changed

+18
-12
lines changed

2 files changed

+18
-12
lines changed

.github/workflows/run-tests.yml

+13-7
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,26 @@ jobs:
1212
strategy:
1313
fail-fast: true
1414
matrix:
15-
os: [ubuntu-latest, windows-latest]
16-
php: [8.2, 8.1]
17-
laravel: [10.*]
15+
os: [macos-latest, ubuntu-latest, windows-latest]
16+
php: [8.3, 8.2, 8.1]
17+
laravel: [11.*, 10.*]
1818
stability: [prefer-lowest, prefer-stable]
1919
include:
20+
- laravel: 11.*
21+
canvas: 9.*
22+
carbon: 2.*
2023
- laravel: 10.*
21-
testbench: 8.*
22-
carbon: ^2.63
24+
canvas: ^8.11
25+
carbon: 2.*
26+
exclude:
27+
- laravel: 11.*
28+
php: 8.1
2329

2430
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
2531

2632
steps:
2733
- name: Checkout code
28-
uses: actions/checkout@v3
34+
uses: actions/checkout@v4
2935

3036
- name: Setup PHP
3137
uses: shivammathur/setup-php@v2
@@ -41,7 +47,7 @@ jobs:
4147
4248
- name: Install dependencies
4349
run: |
44-
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" "nesbot/carbon:${{ matrix.carbon }}" --no-interaction --no-update
50+
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/canvas:${{ matrix.canvas }}" "nesbot/carbon:${{ matrix.carbon }}" --no-interaction --no-update
4551
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
4652
4753
- name: List Installed Dependencies

composer.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@
1818
"require": {
1919
"php": "^8.1",
2020
"spatie/laravel-package-tools": "^1.14.0",
21-
"illuminate/contracts": "^10.0"
21+
"illuminate/contracts": "^10.0|^11.0"
2222
},
2323
"require-dev": {
24+
"larastan/larastan": "^2.9",
2425
"laravel/pint": "^1.0",
25-
"nunomaduro/collision": "^7.9",
26-
"nunomaduro/larastan": "^2.0.1",
27-
"orchestra/testbench": "^8.0",
26+
"nunomaduro/collision": "^7.0|^8.0",
27+
"orchestra/testbench": "^8.11|^9.0",
2828
"pestphp/pest": "^2.0",
2929
"pestphp/pest-plugin-arch": "^2.0",
3030
"pestphp/pest-plugin-laravel": "^2.0",
@@ -68,4 +68,4 @@
6868
},
6969
"minimum-stability": "dev",
7070
"prefer-stable": true
71-
}
71+
}

0 commit comments

Comments
 (0)