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

Commit f712911

Browse files
authored
Merge pull request #100 from laravel-shift/l11-compatibility
Laravel 11.x Compatibility
2 parents 1412366 + 73a43d6 commit f712911

File tree

2 files changed

+35
-24
lines changed

2 files changed

+35
-24
lines changed

.github/workflows/ci.yml

+31-20
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: CI
2-
on: [push, pull_request]
2+
3+
on:
4+
- push
5+
- pull_request
36

47
jobs:
58
run:
@@ -8,8 +11,8 @@ jobs:
811
strategy:
912
matrix:
1013
os: [ubuntu-latest]
11-
php: [ 7.3, 7.4, '8.0', 8.1 ]
12-
laravel: [ 7, 8, 9 , 10]
14+
php: [7.3, 7.4, '8.0', 8.1, '8.2']
15+
laravel: [7, 8, 9, 10, '11']
1316
exclude:
1417
- php: 7.3
1518
laravel: 10
@@ -21,24 +24,32 @@ jobs:
2124
laravel: 9
2225
- php: 7.4
2326
laravel: 9
27+
- laravel: '11'
28+
php: 7.3
29+
- laravel: '11'
30+
php: 7.4
31+
- laravel: '11'
32+
php: '8.0'
33+
- laravel: '11'
34+
php: 8.1
2435

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

2738
steps:
28-
- name: Checkout
29-
uses: actions/checkout@v2
30-
31-
- name: Setup PHP
32-
uses: shivammathur/setup-php@v2
33-
with:
34-
php-version: ${{matrix.php}}
35-
36-
- name: Install dependencies
37-
uses: php-actions/composer@v5
38-
with:
39-
args: --prefer-source --no-interaction
40-
41-
- name: Run composer test script
42-
uses: php-actions/composer@v5
43-
with:
44-
command: test
39+
- name: Checkout
40+
uses: actions/checkout@v2
41+
42+
- name: Setup PHP
43+
uses: shivammathur/setup-php@v2
44+
with:
45+
php-version: ${{matrix.php}}
46+
47+
- name: Install dependencies
48+
uses: php-actions/composer@v5
49+
with:
50+
args: --prefer-source --no-interaction
51+
52+
- name: Run composer test script
53+
uses: php-actions/composer@v5
54+
with:
55+
command: test

composer.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@
2020
],
2121
"require": {
2222
"php": "^7.3|^8.0",
23-
"illuminate/routing": "^7.0|^8.0|^9.0|^10.0",
24-
"illuminate/support": "^7.0|^8.0|^9.0|^10.0"
23+
"illuminate/routing": "^7.0|^8.0|^9.0|^10.0|^11.0",
24+
"illuminate/support": "^7.0|^8.0|^9.0|^10.0|^11.0"
2525
},
2626
"require-dev": {
27-
"orchestra/testbench": "5.*|6.*|^7.0|^8.0",
28-
"phpunit/phpunit": "^9.1"
27+
"orchestra/testbench": "5.*|6.*|^7.0|^8.0|^9.0",
28+
"phpunit/phpunit": "^9.1|^10.5"
2929
},
3030
"autoload": {
3131
"psr-4": {

0 commit comments

Comments
 (0)