Skip to content

Commit 55a0050

Browse files
authored
Merge pull request #27 from elipZis/bump-laravel11
chore: Bump laravel and php
2 parents 2f32e20 + b2b9e8e commit 55a0050

File tree

2 files changed

+14
-13
lines changed

2 files changed

+14
-13
lines changed

.github/workflows/run-tests.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,17 @@ jobs:
1212
strategy:
1313
fail-fast: true
1414
matrix:
15-
os: [ubuntu-latest, windows-latest]
16-
php: [8.1]
17-
laravel: [10.*]
18-
stability: [prefer-lowest, prefer-stable]
15+
os: [ubuntu-latest]
16+
dependency-version: [prefer-dist]
17+
php: [8.2, 8.3]
18+
laravel: [10.*, 11.*]
1919
include:
2020
- laravel: 10.*
21-
testbench: ^8.0
21+
testbench: 8.*
22+
- laravel: 11.*
23+
testbench: 9.*
2224

23-
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
25+
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.os }}
2426

2527
steps:
2628
- name: Checkout code
@@ -40,8 +42,7 @@ jobs:
4042
4143
- name: Install dependencies
4244
run: |
43-
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
44-
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
45+
composer install --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest
4546
4647
- name: Execute tests
4748
run: vendor/bin/pest

composer.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,21 +18,21 @@
1818
}
1919
],
2020
"require": {
21-
"php": "^8.0|^8.1",
21+
"php": "^8.2",
2222
"spatie/laravel-package-tools": "^1.12",
23-
"illuminate/contracts": "^8.0|^9.0|^10.0"
23+
"illuminate/contracts": "^10.0|^11.0"
2424
},
2525
"require-dev": {
2626
"friendsofphp/php-cs-fixer": "^3.8",
27-
"nunomaduro/collision": "^6.0",
27+
"nunomaduro/collision": "^6.1",
2828
"nunomaduro/larastan": "^2.0.1",
29-
"orchestra/testbench": "^7.0|^8.0",
29+
"orchestra/testbench": "^8.0",
3030
"pestphp/pest": "^1.21",
3131
"pestphp/pest-plugin-laravel": "^1.1",
3232
"phpstan/extension-installer": "^1.1",
3333
"phpstan/phpstan-deprecation-rules": "^1.0",
3434
"phpstan/phpstan-phpunit": "^1.0",
35-
"phpunit/phpunit": "^9.5",
35+
"phpunit/phpunit": "^9.6",
3636
"spatie/laravel-ray": "^1.26"
3737
},
3838
"autoload": {

0 commit comments

Comments
 (0)