Skip to content

Commit 1b34e3f

Browse files
authored
Merge pull request #13 from archtechx/l9-support-preparing
Support Laravel 9
2 parents 4474c2b + 16f343e commit 1b34e3f

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,18 @@ on:
1313

1414
jobs:
1515
pest:
16-
name: Tests (Pest)
16+
name: Tests (Pest) L${{ matrix.laravel }}
1717
runs-on: ubuntu-latest
18+
strategy:
19+
matrix:
20+
laravel: [8, 9]
1821

1922
steps:
2023
- uses: actions/checkout@v2
2124
- name: Start docker containers
2225
run: docker-compose up -d
2326
- name: Install composer dependencies
24-
run: composer install
27+
run: composer require "illuminate/support:^${{ matrix.laravel }}.0"
2528
- name: Run tests
2629
run: vendor/bin/pest
2730

composer.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@
2525
},
2626
"require": {
2727
"php": "^8.0",
28-
"illuminate/support": "^8.24",
28+
"illuminate/support": "^8.0|^9.0",
2929
"archtechx/helpers": "*"
3030
},
3131
"require-dev": {
32-
"orchestra/testbench": "^6.9",
32+
"orchestra/testbench": "^6.9|^7.0",
3333
"pestphp/pest": "^1.10",
3434
"phpstan/phpstan": "^0.12.92",
3535
"pestphp/pest-plugin-laravel": "^1.1",
@@ -41,5 +41,7 @@
4141
"ArchTech\\Money\\MoneyServiceProvider"
4242
]
4343
}
44-
}
44+
},
45+
"minimum-stability": "dev",
46+
"prefer-stable": true
4547
}

0 commit comments

Comments
 (0)