Skip to content

Commit

Permalink
Laravel 11.x Compatibility (#40)
Browse files Browse the repository at this point in the history
* Bump dependencies for Laravel 11
* Update GitHub Actions for Laravel 11
  • Loading branch information
laravel-shift authored Feb 27, 2024
1 parent 31775b5 commit 08be8f1
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 7 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,27 @@
name: run-tests

on: [push, pull_request]
on:
- push
- pull_request

jobs:
test:
runs-on: ubuntu-latest

strategy:
fail-fast: true
matrix:
php: [8.3, 8.2, 8.1]
laravel: [10.*]
laravel: ['10.*', '11.*']
dependency-version: [prefer-lowest, prefer-stable]
include:
- laravel: 10.*
testbench: 8.*
- laravel: 11.*
testbench: 9.*
exclude:
- laravel: 11.*
php: 8.1

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

Expand Down
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@
"require": {
"php": "^8.1 || ^8.2 || ^8.3",
"ext-openssl": "*",
"egulias/email-validator": "^3.1",
"egulias/email-validator": "^3.1 || ^4.0",
"guzzlehttp/guzzle": "^7.2",
"illuminate/support": "^10.0",
"illuminate/validation": "^10.0"
"illuminate/support": "^10.0 || ^11.0",
"illuminate/validation": "^10.0 || ^11.0"
},
"require-dev": {
"orchestra/testbench": "^8.0",
"orchestra/testbench": "^8.0 || ^9.0",
"phpunit/phpunit": "^10.4"
},
"autoload": {
Expand Down Expand Up @@ -57,4 +57,4 @@
}
}
}
}
}

0 comments on commit 08be8f1

Please sign in to comment.