Skip to content

Commit

Permalink
Laravel 10.x Compatibility (#161)
Browse files Browse the repository at this point in the history
* Bump dependencies for Laravel 10

* Update GitHub Actions for Laravel 10

* Update run-tests.yml

* Update run-tests.yml

---------

Co-authored-by: Freek Van der Herten <freek@spatie.be>
  • Loading branch information
laravel-shift and freekmurze authored Feb 7, 2023
1 parent 423e74e commit b459806
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,24 @@ jobs:
matrix:
os: [ubuntu-latest]
php: [8.2, 8.1, 8.0]
laravel: [8.*, 9.*]
laravel: [8.*, 9.*, 10.*]
dependency-version: [prefer-stable]
include:
- laravel: 10.*
testbench: 8.*
- laravel: 9.*
testbench: 7.*
- laravel: 8.*
testbench: 6.*
exclude:
- laravel: 10.*
php: 8.0

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

steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@
],
"require": {
"php": "^7.2|^8.0",
"illuminate/translation": "^6.0|^7.0|^8.0|^9.0"
"illuminate/translation": "^6.0|^7.0|^8.0|^9.0|^10.0"
},
"require-dev": {
"phpunit/phpunit": "^8.0|^9.0",
"orchestra/testbench": "^4.0|^5.0|^6.0|^7.0"
"orchestra/testbench": "^4.0|^5.0|^6.0|^7.0|^8.0"
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit b459806

Please sign in to comment.