1
0
Fork 0
mirror of https://github.com/archtechx/laravel-seo.git synced 2025-12-12 01:44:03 +00:00

Add support for Laravel 9. (#14)

This commit is contained in:
Abrar Ahmad 2022-02-03 21:22:34 +05:00 committed by GitHub
parent 20f55c3342
commit 2480e532bf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 12 deletions

View file

@ -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

View file

@ -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
}