Skip to content

Commit 2a47b1d

Browse files
authored
Add Laravel 10 (#6)
* Prepare for Laravel 10 * Update test workflow
1 parent a59b461 commit 2a47b1d

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

.github/workflows/test-jetstream.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,19 +33,19 @@ jobs:
3333

3434
- name: Setup Laravel
3535
run: |
36-
composer create-project laravel/laravel:^9 .
36+
composer create-project laravel/laravel:^10 .
3737
composer require cbaconnier/laravel-mvc-to-ddd:* --no-interaction --dev
38-
composer require laravel/jetstream:* --no-interaction --no-update
39-
composer config repositories.jetstream '{"type": "path", "url": "jetstream"}' --file composer.json
38+
composer require laravel/jetstream:* --no-interaction
39+
4040
- name: Checkout code
4141
uses: actions/checkout@v3
4242
with:
4343
path: 'jetstream'
4444

4545
- name: Install Jetstream
4646
run: |
47-
composer update "laravel/jetstream" --prefer-dist --no-interaction --no-progress -W
4847
php artisan jetstream:install ${{ matrix.stack }} --teams --api --verification
48+
4949
- name: Install NPM dependencies
5050
run: npm i
5151

@@ -60,4 +60,4 @@ jobs:
6060
run: vendor/bin/phpunit --verbose
6161
env:
6262
DB_CONNECTION: sqlite
63-
DB_DATABASE: ":memory:"
63+
DB_DATABASE: ":memory:"

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010
}
1111
],
1212
"require": {
13-
"php": "^8.0",
14-
"illuminate/console": "^9.0",
15-
"illuminate/filesystem": "^9.0",
16-
"illuminate/support": "^9.0"
13+
"php": "^8.1",
14+
"illuminate/console": "^9.0|^10.0",
15+
"illuminate/filesystem": "^9.0|^10.0",
16+
"illuminate/support": "^9.0|^10.0"
1717
},
1818
"autoload": {
1919
"psr-4": {

0 commit comments

Comments
 (0)