Skip to content

Commit 791e8b4

Browse files
Add Support for Laravel 10 (#15)
* Add Support for Laravel 10 * Update CI
1 parent b059378 commit 791e8b4

File tree

5 files changed

+13
-8
lines changed

5 files changed

+13
-8
lines changed

.github/workflows/php-cs-fixer.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88

99
steps:
1010
- name: Checkout code
11-
uses: actions/checkout@v2
11+
uses: actions/checkout@v3
1212
with:
1313
ref: ${{ github.head_ref }}
1414

.github/workflows/phpstan.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ jobs:
1111
name: phpstan
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v2
14+
- uses: actions/checkout@v3
1515

1616
- name: Setup PHP
1717
uses: shivammathur/setup-php@v2
1818
with:
19-
php-version: '8.0'
19+
php-version: '8.2'
2020
coverage: none
2121

2222
- name: Install composer dependencies

.github/workflows/run-tests.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,22 @@ jobs:
1010
matrix:
1111
os: [ubuntu-latest]
1212
php: [8.2, 8.1, 8.0]
13-
laravel: [9.*]
13+
laravel: [9.*, 10.*]
1414
dependency-version: [prefer-stable]
1515
include:
1616
- laravel: 9.*
1717
testbench: 7.*
18+
- laravel: 10.*
19+
testbench: 8.*
20+
exclude:
21+
- laravel: 10.*
22+
php: 8.0
1823

1924
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} - ${{ matrix.os }}
2025

2126
steps:
2227
- name: Checkout code
23-
uses: actions/checkout@v2
28+
uses: actions/checkout@v3
2429

2530
- name: Setup PHP
2631
uses: shivammathur/setup-php@v2

.github/workflows/update-changelog.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010

1111
steps:
1212
- name: Checkout code
13-
uses: actions/checkout@v2
13+
uses: actions/checkout@v3
1414
with:
1515
ref: main
1616

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@
1919
"require": {
2020
"php": "^8.0",
2121
"spatie/laravel-package-tools": "^1.9.2",
22-
"illuminate/contracts": "^9.0"
22+
"illuminate/contracts": "^9.0 | ^10.0"
2323
},
2424
"require-dev": {
2525
"friendsofphp/php-cs-fixer": "^3.4",
2626
"nunomaduro/collision": "^5.10 |^6.0",
2727
"nunomaduro/larastan": "^2.0",
28-
"orchestra/testbench": "^7",
28+
"orchestra/testbench": "^7 | ^8",
2929
"pestphp/pest": "^1.21",
3030
"pestphp/pest-plugin-laravel": "^1.1",
3131
"phpstan/extension-installer": "^1.1",

0 commit comments

Comments
 (0)