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

Commit

Permalink
Merge pull request #100 from laravel-shift/l11-compatibility
Browse files Browse the repository at this point in the history
Laravel 11.x Compatibility
  • Loading branch information
biscolab authored Mar 27, 2024
2 parents 1412366 + 73a43d6 commit f712911
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 24 deletions.
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

0 comments on commit f712911

Please sign in to comment.