Skip to content

Commit

Permalink
Merge pull request #8 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 df9c284 + e8cbc65 commit b1f72c2
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 8 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,13 @@ jobs:
matrix:
os: [ubuntu-latest, windows-latest]
php: [8.2]
laravel: [9.*]
laravel: [9.*, 10.*]
stability: [prefer-lowest, prefer-stable]
include:
- laravel: 9.*
testbench: 7.*
- laravel: 10.*
testbench: 8.*

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

Expand All @@ -39,7 +44,8 @@ jobs:
- name: Install dependencies
run: |
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",
"google/cloud-translate": "^1.12",
"illuminate/support": "^9.46",
"spatie/laravel-package-tools": "^1.11.3"
"illuminate/support": "^9.46|^10.0",
"spatie/laravel-package-tools": "^1.14.1"
},
"require-dev": {
"guzzlehttp/guzzle": "^7.4",
"nunomaduro/collision": "^6.0",
"nunomaduro/larastan": "^2.2",
"orchestra/testbench": "^7.0",
"nunomaduro/larastan": "^2.4",
"orchestra/testbench": "^7.0|^8.0",
"pestphp/pest": "^1.21",
"pestphp/pest-plugin-laravel": "^1.2",
"pestphp/pest-plugin-laravel": "^1.4",
"pestphp/pest-plugin-parallel": "^1.0",
"spatie/laravel-ray": "^1.29",
"worksome/coding-style": "^2.3.2",
"worksome/pest-plugin-silence": "^0.1"
},
Expand Down

0 comments on commit b1f72c2

Please sign in to comment.