Skip to content

Commit

Permalink
Laravel 10 (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
tehwave authored Mar 26, 2023
1 parent bb1822f commit ec1f36d
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 7 deletions.
19 changes: 17 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
fail-fast: true
matrix:
php: [7.2, 7.3, 7.4, 8.0, 8.1]
laravel: [^6.0, ^7.0, ^8.0, ^9.0]
laravel: [^6.0, ^7.0, ^8.0, ^9.0, ^10.0]
dependency-version: [prefer-lowest, prefer-stable]
exclude:

Expand All @@ -28,12 +28,24 @@ jobs:
- php: 7.2
laravel: ^9.0

- php: 7.2
laravel: ^10.0

- php: 7.3
laravel: ^9.0

- php: 7.3
laravel: ^10.0

- php: 7.4
laravel: ^9.0

- php: 7.4
laravel: ^10.0

- php: 8.0
laravel: ^10.0

- php: 8.1
laravel: ^6.0

Expand All @@ -53,6 +65,9 @@ jobs:
- laravel: ^9.0
testbench: ^7.0

- laravel: ^10.0
testbench: ^8.0

name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }}

steps:
Expand All @@ -72,7 +87,7 @@ jobs:
with:
timeout_minutes: 5
max_attempts: 5
command: composer require phpunit/phpunit:^9.5.8 --no-interaction --no-update
command: composer require phpunit/phpunit:^9.5.8 --dev --no-interaction --no-update
if: matrix.php >= 8.1

- name: Install dependencies
Expand Down
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@
}
],
"require": {
"php": "^7.2.5|^8.0",
"illuminate/console": "^6.0|^7.0|^8.0|^9.0",
"illuminate/support": "^6.0|^7.0|^8.0|^9.0"
"php": "^7.2.5|^8.0|^8.1",
"illuminate/console": "^6.0|^7.0|^8.0|^9.0|^10.0",
"illuminate/support": "^6.0|^7.0|^8.0|^9.0|^10.0"
},
"require-dev": {
"orchestra/testbench": "~3.8.0|^4.0|^5.0|^6.3|^7.0",
"phpunit/phpunit": "^8.0|^9.0"
"orchestra/testbench": "~3.8.0|^4.0|^5.0|^6.3|^7.0|^8.0",
"phpunit/phpunit": "^8.0|^9.0|^10.0"
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit ec1f36d

Please sign in to comment.