Skip to content

Commit

Permalink
Laravel 11
Browse files Browse the repository at this point in the history
  • Loading branch information
inxilpro committed Mar 12, 2024
1 parent 7658f39 commit c83b91f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.1
php-version: 8.3
extensions: dom, curl, libxml, mbstring, zip, pcntl, bcmath, intl, iconv
coverage: pcov

Expand All @@ -35,7 +35,7 @@ jobs:
- name: Install dependencies
env:
COMPOSER_DISCARD_CHANGES: true
run: composer require --no-progress --no-interaction --prefer-dist --update-with-all-dependencies "laravel/framework:9.*" "orchestra/testbench:7.*"
run: composer require --no-progress --no-interaction --prefer-dist --update-with-all-dependencies "laravel/framework:11.*" "orchestra/testbench:9.x-dev"

- name: Run and publish code coverage
uses: paambaati/[email protected]
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/phpunit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,16 @@ jobs:

strategy:
matrix:
php: [ 8.1, 8.2 ]
laravel: [ 9.*, 10.* ]
php: [ 8.1, 8.2, 8.3 ]
laravel: [ 9.*, 10.*, 11.* ]
dependency-version: [ stable, lowest ]
include:
- laravel: 9.*
testbench: ^7.22
- laravel: 10.*
testbench: 8.*
- laravel: 11.*
testbench: 9.x-dev

timeout-minutes: 10

Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
"license": "MIT",
"require": {
"php": "^8.1",
"illuminate/support": "^9|^10|11.x-dev|dev-master",
"illuminate/contracts": "^9|^10|11.x-dev|dev-master",
"illuminate/support": "^9|^10|^11|12.x-dev|dev-master",
"illuminate/contracts": "^9|^10|^11|12.x-dev|dev-master",
"ext-json": "*",
"nesbot/carbon": "^2.62.1"
},
"require-dev": {
"orchestra/testbench": "^7.10|^8|9.x-dev|10.x-dev|dev-master",
"orchestra/testbench": "^7.10|^8|^9|9.x-dev|10.x-dev|dev-master",
"friendsofphp/php-cs-fixer": "^3.5",
"spatie/laravel-ray": "^1.32"
},
Expand Down

0 comments on commit c83b91f

Please sign in to comment.