Skip to content
This repository has been archived by the owner on Jun 10, 2024. It is now read-only.

Laravel 11.x Compatibility #100

Merged
merged 2 commits into from
Mar 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 31 additions & 20 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: CI
on: [push, pull_request]

on:
- push
- pull_request

jobs:
run:
Expand All @@ -8,8 +11,8 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
php: [ 7.3, 7.4, '8.0', 8.1 ]
laravel: [ 7, 8, 9 , 10]
php: [7.3, 7.4, '8.0', 8.1, '8.2']
laravel: [7, 8, 9, 10, '11']
exclude:
- php: 7.3
laravel: 10
Expand All @@ -21,24 +24,32 @@ jobs:
laravel: 9
- php: 7.4
laravel: 9
- laravel: '11'
php: 7.3
- laravel: '11'
php: 7.4
- laravel: '11'
php: '8.0'
- laravel: '11'
php: 8.1

name: PHP ${{ matrix.php }} Test on ${{ matrix.os }} – Laravel ${{ matrix.laravel }}

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{matrix.php}}

- name: Install dependencies
uses: php-actions/composer@v5
with:
args: --prefer-source --no-interaction

- name: Run composer test script
uses: php-actions/composer@v5
with:
command: test
- name: Checkout
uses: actions/checkout@v2

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{matrix.php}}

- name: Install dependencies
uses: php-actions/composer@v5
with:
args: --prefer-source --no-interaction

- name: Run composer test script
uses: php-actions/composer@v5
with:
command: test
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@
],
"require": {
"php": "^7.3|^8.0",
"illuminate/routing": "^7.0|^8.0|^9.0|^10.0",
"illuminate/support": "^7.0|^8.0|^9.0|^10.0"
"illuminate/routing": "^7.0|^8.0|^9.0|^10.0|^11.0",
"illuminate/support": "^7.0|^8.0|^9.0|^10.0|^11.0"
},
"require-dev": {
"orchestra/testbench": "5.*|6.*|^7.0|^8.0",
"phpunit/phpunit": "^9.1"
"orchestra/testbench": "5.*|6.*|^7.0|^8.0|^9.0",
"phpunit/phpunit": "^9.1|^10.5"
},
"autoload": {
"psr-4": {
Expand Down
Loading