Skip to content

Commit

Permalink
feat: Laravel 10 support
Browse files Browse the repository at this point in the history
  • Loading branch information
nerg4l committed Feb 18, 2023
1 parent 4970efb commit d442d03
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 12 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,12 @@ jobs:
strategy:
fail-fast: false
matrix:
php: [ 7.3, 7.4, 8.0 ]
laravel: [ '^6.10', '^8.0', '^9.0' ]
php: [ 8.0, 8.1, 8.2 ]
laravel: [ '^9.0', '^10.0' ]
dependency-version: [prefer-lowest, prefer-stable]
exclude:
- php: 7.4
laravel: '^9.0'
- php: 7.3
laravel: '^9.0'
- php: 8.0
laravel: '^10.0'

name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} - ${{ matrix.dependency-version }}

Expand All @@ -31,10 +29,10 @@ jobs:
run: sudo apt-get update --fix-missing

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

- name: Cache dependencies
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/.composer/cache/files
key: laravel-${{ matrix.laravel }}-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}
Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
}
],
"require": {
"php": "^7.3 || ^8.0",
"illuminate/support": "^6.10 || ^8.0 || ^9.0",
"illuminate/http": "^6.10 || ^8.0 || ^9.0"
"php": "^8.0",
"illuminate/support": "^9.0 || ^10.0",
"illuminate/http": "^9.0 || ^10.0"
},
"require-dev": {
"orchestra/testbench": "^4.18 || ^6.24 || ^7.3",
"orchestra/testbench": "^7.3 || ^8.0",
"phpunit/phpunit": "^9.5"
},
"autoload": {
Expand Down

0 comments on commit d442d03

Please sign in to comment.