Skip to content

Commit

Permalink
Merge pull request #63 from laravel-shift/l11-compatibility
Browse files Browse the repository at this point in the history
Laravel 11.x Compatibility
  • Loading branch information
barryvdh authored Mar 2, 2024
2 parents ea8ef33 + a475ef8 commit 47a39eb
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 8 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,25 +6,31 @@ on:
- master
pull_request:
branches:
- "*"
- *
schedule:
- cron: '0 0 * * *'

jobs:
php-tests:
runs-on: ubuntu-20.04

timeout-minutes: 15

env:
COMPOSER_NO_INTERACTION: 1

strategy:
matrix:
php: [8.2, 8.1, 8.0]
laravel: [9.*, 10.*]
laravel: ['9.*', '10.*', '11.*']
dependency-version: [prefer-lowest, prefer-stable]
exclude:
- laravel: 10.*
php: 8.0
- laravel: 11.*
php: 8.1
- laravel: 11.*
php: 8.0

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

Expand All @@ -45,4 +51,4 @@ jobs:
composer update --${{ matrix.dependency-version }} --prefer-dist --no-progress
- name: Execute Unit Tests
run: composer test
run: composer test
15 changes: 10 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@
"name": "barryvdh/laravel-httpcache",
"description": "HttpCache for Laravel",
"license": "MIT",
"keywords": ["laravel", "httpcache", "cache", "esi"],
"keywords": [
"laravel",
"httpcache",
"cache",
"esi"
],
"authors": [
{
"name": "Barry vd. Heuvel",
Expand All @@ -11,13 +16,13 @@
],
"require": {
"php": "^8",
"illuminate/support": "^9|^10",
"symfony/console": "^6",
"symfony/http-kernel": "^6",
"illuminate/support": "^9|^10|^11.0",
"symfony/console": "^6|^7.0",
"symfony/http-kernel": "^6|^7.0",
"barryvdh/laravel-stack-middleware": "^1.0"
},
"require-dev": {
"orchestra/testbench": "^7|^8"
"orchestra/testbench": "^7|^8|^9.0"
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit 47a39eb

Please sign in to comment.