Skip to content

Commit

Permalink
Laravel 11.x Compatibility (#18)
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 committed Mar 13, 2024
1 parent 9dcf8f9 commit bc19b20
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 8 deletions.
17 changes: 13 additions & 4 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,28 +2,37 @@ name: Run all tests

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

jobs:
test:
runs-on: ${{ matrix.os }}

strategy:
fail-fast: true
matrix:
os: [ubuntu-latest, windows-latest]
php: [8.2, 8.1, 8.0]
laravel: [10.*, 9.*]
laravel: ['9.*', '10.*', '11.*']
stability: [prefer-lowest, prefer-stable]
include:
- laravel: 10.*
testbench: ^8.0
- laravel: 9.*
testbench: 7.*
- laravel: 11.*
testbench: ^9.0
exclude:
- laravel: 10.*
php: 8.0
- laravel: 11.*
php: 8.1
- laravel: 11.*
php: 8.0

name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}

Expand Down Expand Up @@ -52,4 +61,4 @@ jobs:
run: composer show -D

- name: Execute tests
run: vendor/bin/pest
run: vendor/bin/pest
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,18 +38,18 @@
"php": "^8.0",
"ext-dom": "*",
"ext-libxml": "*",
"illuminate/testing": "^9.0|^10.0",
"illuminate/testing": "^9.0|^10.0|^11.0",
"symfony/css-selector": "^6.0|^7.0"
},
"require-dev": {
"laravel/pint": "^1.2",
"nunomaduro/larastan": "^2.2",
"orchestra/testbench": "^7.0|^8.0",
"pestphp/pest": "^1.0",
"orchestra/testbench": "^7.0|^8.0|^9.0",
"pestphp/pest": "^1.0|^2.34",
"phpstan/extension-installer": "^1.2",
"phpstan/phpstan-deprecation-rules": "^1.0",
"phpstan/phpstan-phpunit": "^1.1",
"vimeo/psalm": "^4.29"
"vimeo/psalm": "^4.29|^5.22"
},
"config": {
"allow-plugins": {
Expand Down

0 comments on commit bc19b20

Please sign in to comment.