mirror of
https://github.com/archtechx/laravel-seo.git
synced 2025-12-12 09:54:03 +00:00
Add support for Laravel 9.
This commit is contained in:
parent
20f55c3342
commit
24af4bf046
2 changed files with 11 additions and 12 deletions
13
.github/workflows/ci.yml
vendored
13
.github/workflows/ci.yml
vendored
|
|
@ -1,11 +1,5 @@
|
|||
name: CI
|
||||
|
||||
env:
|
||||
COMPOSE_INTERACTIVE_NO_CLI: 1
|
||||
PHP_CS_FIXER_IGNORE_ENV: 1
|
||||
MYSQL_PORT: 3307
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
|
|
@ -13,13 +7,16 @@ on:
|
|||
|
||||
jobs:
|
||||
pest:
|
||||
name: Tests (Pest)
|
||||
name: Tests (Pest) L${{ matrix.laravel }}
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
laravel: [8, 9]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Install composer dependencies
|
||||
run: composer install
|
||||
run: composer require "laravel/framework:^${{matrix.laravel}}.0"
|
||||
- name: Run tests
|
||||
run: vendor/bin/pest
|
||||
|
||||
|
|
|
|||
|
|
@ -24,11 +24,11 @@
|
|||
},
|
||||
"require": {
|
||||
"php": "^8.0",
|
||||
"illuminate/support": "^8.24",
|
||||
"imliam/laravel-blade-helper": "^1.0"
|
||||
"illuminate/support": "^8.24|^9.0",
|
||||
"imliam/laravel-blade-helper": "^1.4"
|
||||
},
|
||||
"require-dev": {
|
||||
"orchestra/testbench": "^6.23",
|
||||
"orchestra/testbench": "^6.23|^7.0",
|
||||
"nunomaduro/larastan": "^1.0",
|
||||
"pestphp/pest": "^1.2",
|
||||
"pestphp/pest-plugin-laravel": "^1.0",
|
||||
|
|
@ -40,5 +40,7 @@
|
|||
"ArchTech\\SEO\\SEOServiceProvider"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"minimum-stability": "dev",
|
||||
"prefer-stable": true
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue