Skip to content

Commit f8da0c7

Browse files
committed
🧪 support laravel 10
1 parent 9dfacb8 commit f8da0c7

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

.github/workflows/tests.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ on: [ 'push', 'pull_request' ]
44

55
jobs:
66
tests:
7-
runs-on: ${{ matrix.os }}
7+
runs-on: ubuntu-latest
88
strategy:
99
fail-fast: true
1010
matrix:
11-
os: [ ubuntu-latest ]
1211
php: [ 8.1, 8.2 ]
12+
laravel: [ 10.*, 9.* ]
1313
stability: [ prefer-lowest, prefer-stable ]
1414

15-
name: Tests php${{ matrix.php }} - ${{ matrix.os }} - ${{ matrix.stability }}
15+
name: Tests php@${{ matrix.php }} - laravel@${{ matrix.laravel }} - ${{ matrix.stability }}
1616

1717
steps:
1818
- name: Checkout
@@ -25,7 +25,9 @@ jobs:
2525
coverage: pcov
2626

2727
- name: Install Composer dependencies
28-
run: composer update --${{ matrix.stability }} --no-interaction
28+
run: |
29+
composer require "laravel/framework:${{ matrix.laravel }}" --no-update --no-interaction
30+
composer update --${{ matrix.stability }} --no-interaction
2931
3032
- name: Unit Tests
3133
run: composer test:unit

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
],
2020
"require": {
2121
"php": "^8.1.0",
22-
"laravel/framework": "^9.0",
22+
"laravel/framework": "^9.0|^10.0",
2323
"devmoath/jira-php": "^0.0.1"
2424
},
2525
"require-dev": {

0 commit comments

Comments
 (0)