Skip to content

Commit 2480e53

Browse files
authored
Add support for Laravel 9. (#14)
1 parent 20f55c3 commit 2480e53

File tree

2 files changed

+11
-12
lines changed

2 files changed

+11
-12
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,22 @@
11
name: CI
22

3-
env:
4-
COMPOSE_INTERACTIVE_NO_CLI: 1
5-
PHP_CS_FIXER_IGNORE_ENV: 1
6-
MYSQL_PORT: 3307
7-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8-
93
on:
104
push:
115
pull_request:
126
branches: [ master ]
137

148
jobs:
159
pest:
16-
name: Tests (Pest)
10+
name: Tests (Pest) L${{ matrix.laravel }}
1711
runs-on: ubuntu-latest
12+
strategy:
13+
matrix:
14+
laravel: [8, 9]
1815

1916
steps:
2017
- uses: actions/checkout@v2
2118
- name: Install composer dependencies
22-
run: composer install
19+
run: composer require "laravel/framework:^${{matrix.laravel}}.0"
2320
- name: Run tests
2421
run: vendor/bin/pest
2522

composer.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@
2424
},
2525
"require": {
2626
"php": "^8.0",
27-
"illuminate/support": "^8.24",
28-
"imliam/laravel-blade-helper": "^1.0"
27+
"illuminate/support": "^8.24|^9.0",
28+
"imliam/laravel-blade-helper": "^1.4"
2929
},
3030
"require-dev": {
31-
"orchestra/testbench": "^6.23",
31+
"orchestra/testbench": "^6.23|^7.0",
3232
"nunomaduro/larastan": "^1.0",
3333
"pestphp/pest": "^1.2",
3434
"pestphp/pest-plugin-laravel": "^1.0",
@@ -40,5 +40,7 @@
4040
"ArchTech\\SEO\\SEOServiceProvider"
4141
]
4242
}
43-
}
43+
},
44+
"minimum-stability": "dev",
45+
"prefer-stable": true
4446
}

0 commit comments

Comments
 (0)