Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Laravel 9 support & update to Enhance Resources v4 #26

Merged
merged 11 commits into from
Mar 11, 2022
15 changes: 13 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,17 @@ jobs:
strategy:
fail-fast: true
matrix:
php: [7.4, 8.0]
php: [8.0, 8.1]
laravel: [8.0, 9.0]
stability: [prefer-lowest, prefer-stable]
name: PHP ${{ matrix.php }} - ${{ matrix.stability }}
include:
- laravel: 8.0
collision: 5.0
testbench: 6.0
- laravel: 9.0
collision: 6.0
testbench: 7.0
name: PHP ${{ matrix.php }} - Laravel v${{ matrix.laravel }} - ${{ matrix.stability }}
steps:
- name: Checkout code
uses: actions/checkout@v2
Expand Down Expand Up @@ -37,5 +45,8 @@ jobs:
- name: Install dependencies
run: composer update --${{ matrix.stability }} --prefer-dist --no-interaction --no-suggest

- name: Require specific versions of packages
run: composer update laravel/framework:^${{ matrix.laravel }} nunomaduro/collision:^${{ matrix.collision }} orchestra/testbench:^${{ matrix.testbench }} -W

- name: Execute tests
run: vendor/bin/phpunit --verbose
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@
}
},
"require": {
"php": "^7.4|^8.0",
"laravel/framework": "^7.0|^8.0"
"php": "^8.0",
"laravel/framework": "^8.0|^9.0"
},
"require-dev": {
"nunomaduro/collision": "^4.2",
"orchestra/testbench": "^5.0"
"nunomaduro/collision": "^5.0|^6.0",
"orchestra/testbench": "^6.0|^7.0"
},
"extra": {
"laravel": {
Expand Down
Loading