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

Merge pull request #5 from abrardev99/l9-support

Add support for Laravel 9
This commit is contained in:
Samuel Štancl 2022-02-08 19:18:11 +01:00 committed by GitHub
commit 46ba3c0ba9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 13 deletions

View file

@ -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:
@ -12,13 +7,16 @@ on:
jobs: jobs:
pest: pest:
name: Tests (Pest) name: Tests (Pest) L${{ matrix.laravel }}
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

View file

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