Skip to content

Commit

Permalink
chore: prepare for laravel 11 (#145)
Browse files Browse the repository at this point in the history
  • Loading branch information
joostdebruijn committed Feb 19, 2024
1 parent 21d9860 commit f282275
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,27 +8,27 @@ jobs:
strategy:
fail-fast: true
matrix:
php: [ 8.2, 8.1, 8.0 ]
laravel: [ ^9.0, ^10.0 ]
php: [ 8.3, 8.2, 8.1 ]
laravel: [ ^10.0, ^11.0 ]
stability: [ prefer-lowest, prefer-stable ]
include:
- laravel: ^9.0
testbench: ^7.19
- laravel: ^10.0
testbench: ^8.0
- laravel: ^11.0
testbench: ^9.0
exclude:
# Laravel 10 requires PHP 8.1 at least
- laravel: ^10.0
php: 8.0
# Laravel 11 requires PHP 8.2 at least
- laravel: ^11.0
php: 8.1

name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} - ${{ matrix.stability }}

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

- name: Cache dependencies
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.composer/cache/files
key: dependencies-php-${{ matrix.php }}-laravel-${{ matrix.laravel }}-composer-${{ hashFiles('composer.lock') }}
Expand Down
12 changes: 6 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,17 @@
}
],
"require": {
"php": "^8.0",
"php": "^8.1",
"ext-json": "*",
"guzzlehttp/guzzle": "^7.0",
"illuminate/mail": "^9.0|^10.0",
"illuminate/support": "^9.0|^10.0"
"illuminate/mail": "^10.0|^11.0",
"illuminate/support": "^10.0|^11.0"
},
"require-dev": {
"ext-gd": "*",
"fakerphp/faker": "^1.17",
"orchestra/testbench": "^7.19|^8.0",
"phpunit/phpunit": "^9.0"
"orchestra/testbench": "^8.0|^9.0",
"phpunit/phpunit": "^10.0"
},
"suggest": {
"mvdnbrk/postmark-inbound": "Allows you to process Postmark Inbound Webhooks."
Expand Down Expand Up @@ -64,4 +64,4 @@
"scripts": {
"test": "vendor/bin/phpunit"
}
}
}

0 comments on commit f282275

Please sign in to comment.