Skip to content

Commit

Permalink
Merge pull request #5 from abrardev99/l9-support
Browse files Browse the repository at this point in the history
Add support for Laravel 9
  • Loading branch information
stancl authored Feb 8, 2022
2 parents 56802a6 + 38437b1 commit 46ba3c0
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,22 @@
name: CI

env:
COMPOSE_INTERACTIVE_NO_CLI: 1
PHP_CS_FIXER_IGNORE_ENV: 1
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

on:
push:
pull_request:
branches: [ master ]

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

Expand Down
14 changes: 8 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand All @@ -39,5 +39,7 @@
"ArchTech\\Pages\\PagesServiceProvider"
]
}
}
},
"minimum-stability": "dev",
"prefer-stable": true
}

0 comments on commit 46ba3c0

Please sign in to comment.