Skip to content

Commit

Permalink
Add Laravel 11 Support
Browse files Browse the repository at this point in the history
  • Loading branch information
Jubeki committed Feb 14, 2024
1 parent 6b1ae97 commit 05fc493
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,14 @@ jobs:
matrix:
os: [ubuntu-latest]
php: [8.3, 8.2, 8.1]
illuminate: [10.*, 11,*]
dependency-version: [prefer-lowest, prefer-stable]

name: P${{ matrix.php }} - ${{ matrix.dependency-version }} - ${{ matrix.os }}

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

- name: Install Puppeteer
run: npm install puppeteer
Expand All @@ -38,7 +39,9 @@ jobs:
coverage: none

- name: Install dependencies
run: composer update --${{ matrix.dependency-version }} --no-interaction --prefer-source
run: |
composer require "laravel/framework:${{ matrix.illuminate }}" --no-interaction --no-update
composer update --${{ matrix.dependency-version }} --no-interaction --prefer-source
- name: Execute tests
run: vendor/bin/pest
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@
"php": "^8.1",
"guzzlehttp/guzzle": "^7.3",
"guzzlehttp/psr7": "^2.0",
"illuminate/collections": "^10.0",
"illuminate/collections": "^10.0|^11.0",
"nicmart/tree": "^0.3.0",
"spatie/browsershot": "^3.45|^4.0",
"spatie/robots-txt": "^2.0",
"symfony/dom-crawler": "^6.0 | ^7.0"
"symfony/dom-crawler": "^6.0|^7.0"
},
"require-dev": {
"pestphp/pest": "^2.0",
Expand Down

0 comments on commit 05fc493

Please sign in to comment.