Skip to content

Commit

Permalink
Merge pull request #14 from datlechin/laravel-10
Browse files Browse the repository at this point in the history
Laravel 10 support
  • Loading branch information
danharrin committed Jan 23, 2023
2 parents 8abf691 + 9b84287 commit 50ddf20
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,19 @@ jobs:
strategy:
fail-fast: false
matrix:
php: [ 8.1, 8.0 ]
laravel: [ 9.*, 8.* ]
php: [ 8.2, 8.1, 8.0 ]
laravel: [ 10.*, 9.*, 8.* ]
dependency-version: [ prefer-stable ]
include:
- laravel: 10.*
testbench: 8.*
- laravel: 9.*
testbench: 7.*
- laravel: 8.*
testbench: 6.*
exclude:
- php: 8.0
laravel: 10.*
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }}
steps:
- uses: actions/checkout@v2
Expand All @@ -37,4 +42,4 @@ jobs:
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest
- name: Execute tests
run: vendor/bin/phpunit --verbose
run: vendor/bin/phpunit --verbose
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<p align="center">
<a href="https://github.com/danharrin/livewire-rate-limiting/actions"><img alt="Tests passing" src="https://img.shields.io/badge/Tests-passing-green?style=for-the-badge&logo=github"></a>
<a href="https://laravel.com"><img alt="Laravel v8.x" src="https://img.shields.io/badge/Laravel-v8.x-FF2D20?style=for-the-badge&logo=laravel"></a>
<a href="https://laravel.com"><img alt="Laravel v8.x, v9.x, v10.x" src="https://img.shields.io/badge/Laravel-v8.x, v9.x, v10.x-FF2D20?style=for-the-badge&logo=laravel"></a>
<a href="https://laravel.com"><img alt="PHP 8" src="https://img.shields.io/badge/PHP-8-777BB4?style=for-the-badge&logo=php"></a>
</p>

Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
],
"require": {
"php": "^8.0",
"illuminate/support": "^8.0|^9.0"
"illuminate/support": "^8.0|^9.0|^10.0"
},
"require-dev": {
"livewire/livewire": "^2.3",
"orchestra/testbench": "^6.2|^7.0",
"orchestra/testbench": "^6.2|^7.0|^8.0",
"phpunit/phpunit": "^9.4",
"symplify/monorepo-builder": "^9.0"
},
Expand Down

0 comments on commit 50ddf20

Please sign in to comment.