mirror of
https://github.com/archtechx/laravel-pages.git
synced 2025-12-12 01:44:03 +00:00
Add support for Laravel 9
This commit is contained in:
parent
56802a668e
commit
e50a672e21
2 changed files with 12 additions and 12 deletions
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
|
|
@ -1,10 +1,5 @@
|
||||||
name: CI
|
name: CI
|
||||||
|
|
||||||
env:
|
|
||||||
COMPOSE_INTERACTIVE_NO_CLI: 1
|
|
||||||
PHP_CS_FIXER_IGNORE_ENV: 1
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
pull_request:
|
pull_request:
|
||||||
|
|
@ -14,11 +9,14 @@ jobs:
|
||||||
pest:
|
pest:
|
||||||
name: Tests (Pest)
|
name: Tests (Pest)
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
laravel: [8, 9]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Install composer dependencies
|
- name: Install composer dependencies
|
||||||
run: composer install
|
run: composer require "laravel/framework:^${{matrix.laravel}}.0"
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: vendor/bin/pest
|
run: vendor/bin/pest
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -22,14 +22,14 @@
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"php": "^8.0",
|
"php": "^8.0",
|
||||||
"illuminate/support": "^8.24",
|
"illuminate/support": "^8.24|^9.0",
|
||||||
"archtechx/laravel-seo": "^0.2.2",
|
"archtechx/laravel-seo": "^0.3.2",
|
||||||
"ryangjchandler/orbit": "*",
|
"ryangjchandler/orbit": "*",
|
||||||
"illuminate/routing": "^8.53",
|
"illuminate/routing": "^8.53|^9.0",
|
||||||
"illuminate/database": "^8.53"
|
"illuminate/database": "^8.53|^9.0"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"orchestra/testbench": "^6.9",
|
"orchestra/testbench": "^6.9|^7.0",
|
||||||
"pestphp/pest": "^1.2",
|
"pestphp/pest": "^1.2",
|
||||||
"pestphp/pest-plugin-laravel": "^1.0"
|
"pestphp/pest-plugin-laravel": "^1.0"
|
||||||
},
|
},
|
||||||
|
|
@ -39,5 +39,7 @@
|
||||||
"ArchTech\\Pages\\PagesServiceProvider"
|
"ArchTech\\Pages\\PagesServiceProvider"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"minimum-stability": "dev",
|
||||||
|
"prefer-stable": true
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue