Skip to content

Commit

Permalink
Merge pull request #14 from worksome/l10
Browse files Browse the repository at this point in the history
chore(deps): Laravel 10 support
  • Loading branch information
lukeraymonddowning authored Feb 3, 2023
2 parents e25c714 + ad5ae99 commit 91b2014
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 9 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,13 @@ jobs:
matrix:
os: [ubuntu-latest]
php: [8.2]
laravel: ['^9.22']
laravel: ['^9.22', '10.*']
stability: [prefer-lowest, prefer-stable]
include:
- laravel: "^9.22"
testbench: 7.*
- laravel: 10.*
testbench: 8.*

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

Expand All @@ -39,8 +44,8 @@ jobs:
- name: Install dependencies
run: |
composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update --ansi
composer update --${{ matrix.stability }} --prefer-dist --no-interaction --ansi
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
- name: Execute tests
run: composer test:unit
11 changes: 5 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,17 @@
"require": {
"php": "^8.2",
"guzzlehttp/guzzle": "^7.5",
"laravel/framework": "^9.46",
"laravel/framework": "^9.46|^10.0",
"pragmarx/google2fa": "^8.0",
"spatie/laravel-package-tools": "^1.13.8"
"spatie/laravel-package-tools": "^1.14.1"
},
"require-dev": {
"nunomaduro/collision": "^6.3",
"nunomaduro/larastan": "^2.3.2",
"orchestra/testbench": "^7.18",
"nunomaduro/larastan": "^2.4.0",
"orchestra/testbench": "^7.18|^8.0",
"pestphp/pest": "^1.22.3",
"pestphp/pest-plugin-parallel": "^1.2",
"pestphp/pest-plugin-laravel": "^1.1",
"spatie/laravel-ray": "^1.30",
"pestphp/pest-plugin-laravel": "^1.4",
"worksome/pest-plugin-silence": "^0.1.2",
"worksome/coding-style": "^2.3"
},
Expand Down

0 comments on commit 91b2014

Please sign in to comment.