Skip to content

Commit

Permalink
chore(deps): update laravel and testbench versions
Browse files Browse the repository at this point in the history
- Updated laravel version to 11.*
- Added testbench version 9.*
  • Loading branch information
guanguans committed Apr 1, 2024
1 parent 45d0670 commit 529037f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
os: [ ubuntu-latest ]
php: [ 7.4, 8.3 ]
dependency-version: [ prefer-stable ]
laravel: [ 7.0.*, 8.*, 9.*, 10.* ]
laravel: [ 7.0.*, 8.*, 9.*, 10.*, 11.* ]
include:
- laravel: 7.0.*
testbench: 5.*
Expand All @@ -21,11 +21,15 @@ jobs:
testbench: 7.*
- laravel: 10.*
testbench: 8.*
- laravel: 11.*
testbench: 9.*
exclude:
- php: 7.4
laravel: 9.*
- php: 7.4
laravel: 10.*
- php: 7.4
laravel: 11.*
- php: 8.3
laravel: 7.0.*

Expand All @@ -51,7 +55,7 @@ jobs:
- name: Install dependencies
run: |
composer remove "brainmaestro/composer-git-hooks" --no-interaction --no-scripts --dev --ansi -v
composer require "laravel/framework:${{ matrix.laravel }}" "laravel/lumen-framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update --ansi -v
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update --ansi -v
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-scripts --ansi -W -v
- name: Execute tests
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"kubawerlos/php-cs-fixer-custom-fixers": "^3.21",
"laravel/legacy-factories": "^1.4",
"mockery/mockery": "^1.6",
"orchestra/testbench": "^5.0 || ^6.0 || ^7.0 || ^8.0",
"orchestra/testbench": "^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.0",
"pestphp/pest": "^1.23 || ^2.0",
"pestphp/pest-plugin-faker": "^1.0 || ^2.0",
"pestphp/pest-plugin-laravel": "^1.2 || ^2.0",
Expand Down Expand Up @@ -167,7 +167,7 @@
"composer-normalize": "@composer normalize --dry-run --diff --ansi -v",
"composer-parallel": "@composer parallel --ansi -v",
"composer-unused": "@php ./vendor/bin/composer-unused --ansi -v",
"composer-updater": "@php ./composer-updater --highest-php-binary=/opt/homebrew/opt/php@8.3/bin/php --except-packages=laravel/lumen-framework --except-packages=orchestra/testbench --except-packages=pestphp/pest-plugin-laravel --ansi",
"composer-updater": "@php ./composer-updater --highest-php-binary=/opt/homebrew/opt/php@8.3/bin/php --except-packages=orchestra/testbench --except-packages=pestphp/pest-plugin-laravel --ansi",
"composer-updater-dry-run": "@composer-updater --dry-run",
"composer-validate": "@composer validate --check-lock --strict --ansi -v",
"facade-lint": "@facade-update --lint",
Expand Down

0 comments on commit 529037f

Please sign in to comment.