Skip to content

Commit

Permalink
Merge pull request #19 from ranium/laravel10-php8.2-support
Browse files Browse the repository at this point in the history
Laravel 10 and PHP 8.2 support
  • Loading branch information
abbasali authored May 31, 2023
2 parents f220502 + 0e4307d commit b79ca0a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 14 deletions.
15 changes: 3 additions & 12 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,23 +11,14 @@ jobs:
strategy:
fail-fast: true
matrix:
php: [7.2, 7.4, 8.0]
laravel: [^6.0, ^7.0, ^8.0, ^9.0]
exclude:
# Exclude laravel 8 on php 7.2 as it requires php 7.3+
- php: 7.2
laravel: ^8.0
# Exclude laravel 9 on php 7.2, 7.3 and 7.4 as it requires php 8.0+
- php: 7.2
laravel: ^9.0
- php: 7.4
laravel: ^9.0
php: [8.1, 8.2]
laravel: [^8.0, ^9.0, ^10.0]

name: Run Test (P${{ matrix.php }} - L${{ matrix.laravel }})

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

- name: Setup PHP, with composer and extensions
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 @@ -4,10 +4,10 @@
"type": "library",
"require": {
"php": "^7.2|^8.0",
"illuminate/database": "^6.0|^7.0|^8.0|^9.0"
"illuminate/database": "^6.0|^7.0|^8.0|^9.0|^10.0"
},
"require-dev": {
"orchestra/testbench": "^3.8|^4.0|^5.0|^6.0|^7.0",
"orchestra/testbench": "^3.8|^4.0|^5.0|^6.0|^7.0|^8.0",
"phpunit/phpunit": "^8.0|^9.0"
},
"autoload": {
Expand Down

0 comments on commit b79ca0a

Please sign in to comment.