Skip to content

Commit

Permalink
Laravel 11.x Compatibility (#147)
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 Mar 10, 2024
1 parent f0ce848 commit 2428163
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 10 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,21 @@ name: PHPUnit

on:
push:
branches: [ master ]
branches:
- master
pull_request:
branches: [ master ]
branches:
- master

jobs:
test:
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
php-versions: [ '8.1', '8.2' ]
phpunit-versions: [ 'latest' ]
php-versions: ['8.1', '8.2']
phpunit-versions: ['8.2', latest]

name: PHP ${{ matrix.php-versions }}

Expand All @@ -30,8 +33,8 @@ jobs:
coverage: none

- name: Install dependencies
if: steps.composer-cache.outputs.cache-hit != 'true'
run: |
composer install --prefer-dist --no-interaction --no-suggest
if: "steps.composer-cache.outputs.cache-hit != 'true'"
run: composer install --prefer-dist --no-interaction --no-suggest

- name: Run test suite
run: composer run-script test
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
"require": {
"php": "^8.1|^8.2",
"livewire/livewire": "^3.0",
"illuminate/support": "^5.5 || ^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0"
"illuminate/support": "^5.5 || ^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0|^11.0"
},
"require-dev": {
"orchestra/testbench": "^6.15|^7.0|^8.0",
"orchestra/testbench": "^6.15|^7.0|^8.0|^9.0",
"phpunit/phpunit": "^9.5|^10.0"
},
"autoload": {
Expand All @@ -31,7 +31,7 @@
},
"autoload-dev": {
"psr-4": {
"Jantinnerezo\\LivewireAlert\\Tests\\": "tests"
"Jantinnerezo\\LivewireAlert\\Tests\\": "tests"
}
},
"scripts": {
Expand Down

0 comments on commit 2428163

Please sign in to comment.