Skip to content

Commit 8504369

Browse files
committed
Update PHP and Laravel version support in workflow and composer files
1 parent b8abe0b commit 8504369

File tree

3 files changed

+25
-10
lines changed

3 files changed

+25
-10
lines changed

.github/workflows/main.yml

+19-5
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,38 @@
11
name: run-tests
22

3-
on: [push, pull_request]
3+
on:
4+
- push
5+
- pull_request
46

57
jobs:
68
test:
79
runs-on: ubuntu-latest
810
strategy:
911
fail-fast: true
1012
matrix:
11-
php: ['8.0', 8.1, 8.2, 8.3]
12-
laravel: [8, 9, 10, 11]
13+
php: ['8.0', 8.1, 8.2, 8.3, 8.4]
14+
laravel: [8, 9, 10, 11, 12]
1315
exclude:
1416
- php: '8.0'
1517
laravel: 10
1618
- php: '8.0'
1719
laravel: 11
18-
- php: '8.2'
19-
laravel: 8
2020
- php: '8.1'
2121
laravel: 11
22+
- php: '8.1'
23+
laravel: 12
24+
- php: '8.2'
25+
laravel: 8
26+
- php: '8.3'
27+
laravel: 8
28+
- php: '8.3'
29+
laravel: 9
30+
- php: '8.4'
31+
laravel: 8
32+
- php: '8.4'
33+
laravel: 9
34+
- php: '8.4'
35+
laravel: 10
2236

2337
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }}
2438

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22
/.idea
33
/.phpunit.result.cache
44
/composer.lock
5-
/.phpunit.cache
5+
/.phpunit.cache
6+
.DS_Store

composer.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@
1616
}
1717
],
1818
"require": {
19-
"php": "^8.0|^8.1|^8.2|^8.3",
20-
"illuminate/support": "^8.0|^9.0|^10.0|^11.0"
19+
"php": "^8.0|^8.1|^8.2|^8.3|^8.4",
20+
"illuminate/support": "^8.0|^9.0|^10.0|^11.0|^12.0"
2121
},
2222
"require-dev": {
2323
"doctrine/dbal": "^3.3",
24-
"orchestra/testbench": "^6.0|^7.0|^8.0|^9.0",
25-
"phpunit/phpunit": "^9.0"
24+
"orchestra/testbench": "^6.0|^7.0|^8.0|^9.0|^10.0",
25+
"phpunit/phpunit": "^9.0|^10.0|^11.0"
2626
},
2727
"autoload": {
2828
"psr-4": {

0 commit comments

Comments
 (0)