1
0
Fork 0
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:
Abrar Ahmad 2022-02-08 20:08:20 +05:00
parent 56802a668e
commit e50a672e21
2 changed files with 12 additions and 12 deletions

View file

@ -1,10 +1,5 @@
name: CI
env:
COMPOSE_INTERACTIVE_NO_CLI: 1
PHP_CS_FIXER_IGNORE_ENV: 1
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
on:
push:
pull_request:
@ -14,11 +9,14 @@ jobs:
pest:
name: Tests (Pest)
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

@ -22,14 +22,14 @@
},
"require": {
"php": "^8.0",
"illuminate/support": "^8.24",
"archtechx/laravel-seo": "^0.2.2",
"illuminate/support": "^8.24|^9.0",
"archtechx/laravel-seo": "^0.3.2",
"ryangjchandler/orbit": "*",
"illuminate/routing": "^8.53",
"illuminate/database": "^8.53"
"illuminate/routing": "^8.53|^9.0",
"illuminate/database": "^8.53|^9.0"
},
"require-dev": {
"orchestra/testbench": "^6.9",
"orchestra/testbench": "^6.9|^7.0",
"pestphp/pest": "^1.2",
"pestphp/pest-plugin-laravel": "^1.0"
},
@ -39,5 +39,7 @@
"ArchTech\\Pages\\PagesServiceProvider"
]
}
}
},
"minimum-stability": "dev",
"prefer-stable": true
}