Skip to content

Commit 07f1ddc

Browse files
Laravel 12.x Compatibility (#175)
* Bump dependencies for Laravel 12 * Update GitHub Actions for Laravel 12 * Update tests.yml --------- Co-authored-by: Ricardo Gobbo de Souza <ricardogobbosouza@yahoo.com.br>
1 parent 1cfadd9 commit 07f1ddc

File tree

2 files changed

+11
-7
lines changed

2 files changed

+11
-7
lines changed

.github/workflows/tests.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
name: tests
22

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

57
jobs:
68
tests:
@@ -11,7 +13,7 @@ jobs:
1113
matrix:
1214
os: [ubuntu-latest]
1315
php: [8.1, 8.2, 8.3, 8.4]
14-
laravel: [^9.0, ^10.0, ^11.0]
16+
laravel: [^9.0, ^10.0, ^11.0, ^12.0]
1517
stability: [prefer-lowest, prefer-stable]
1618
exclude:
1719
- laravel: ^9.0
@@ -20,6 +22,8 @@ jobs:
2022
php: 8.4
2123
- laravel: ^11.0
2224
php: 8.1
25+
- laravel: ^12.0
26+
php: 8.1
2327

2428
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
2529

@@ -49,4 +53,4 @@ jobs:
4953
- name: Coverage
5054
uses: codecov/codecov-action@v4
5155
env:
52-
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
56+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@
1919
"php": "^8.1",
2020
"ext-json": "*",
2121
"ext-intl": "*",
22-
"illuminate/support": "^9.0|^10.0|^11.0",
23-
"illuminate/view": "^9.0|^10.0|^11.0",
22+
"illuminate/support": "^9.0|^10.0|^11.0|^12.0",
23+
"illuminate/view": "^9.0|^10.0|^11.0|^12.0",
2424
"moneyphp/money": "^4.6"
2525
},
2626
"require-dev": {
2727
"graham-campbell/testbench": "^6.1",
28-
"illuminate/filesystem": "^9.0|^10.0|^11.0",
28+
"illuminate/filesystem": "^9.0|^10.0|^11.0|^12.0",
2929
"mockery/mockery": "^1.6",
3030
"phpunit/phpunit": "^10.5"
3131
},
@@ -46,7 +46,7 @@
4646
]
4747
},
4848
"scripts": {
49-
"test": "vendor/bin/phpunit"
49+
"test": "vendor/bin/phpunit"
5050
},
5151
"extra": {
5252
"laravel": {

0 commit comments

Comments
 (0)