Skip to content

Commit 46c6456

Browse files
authored
Merge pull request #100 from lara-zeus/stable-4
update for filament 4
2 parents 3f7262d + fc5c373 commit 46c6456

File tree

6 files changed

+1758
-1738
lines changed

6 files changed

+1758
-1738
lines changed

.github/workflows/run-tests.yml

Lines changed: 23 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,34 @@ name: run-tests
22

33
on:
44
push:
5-
branches: [3.x]
5+
branches: [4.x]
6+
paths:
7+
- '**.php'
68
pull_request:
7-
branches: [3.x]
9+
branches: [4.x]
10+
paths:
11+
- '**.php'
12+
workflow_dispatch:
813

914
jobs:
1015
test:
1116
runs-on: ${{ matrix.os }}
1217
strategy:
1318
fail-fast: true
1419
matrix:
15-
os: [ubuntu-latest, windows-latest]
16-
php: [8.2]
17-
laravel: [10.*]
18-
stability: [prefer-stable]
20+
os: [ubuntu-latest]
21+
php: [8.2,8.3,8.4]
22+
laravel: [11.*,12.*]
23+
stability: [prefer-lowest, prefer-stable]
1924
include:
20-
- laravel: 10.*
21-
testbench: 8.*
25+
- laravel: 11.*
26+
testbench: 9.*
27+
openspout: 4.28.5
28+
- laravel: 12.*
29+
testbench: 10.*
30+
openspout: 4.*
2231

23-
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
32+
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }} - O${{ matrix.openspout }}
2433

2534
steps:
2635
- name: Checkout code
@@ -40,8 +49,11 @@ jobs:
4049
4150
- name: Install dependencies
4251
run: |
43-
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
52+
composer require "openspout/openspout:${{ matrix.openspout }}" "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
4453
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
4554
55+
- name: List Installed Dependencies
56+
run: composer show -D
57+
4658
- name: Execute tests
47-
run: vendor/bin/pest
59+
run: vendor/bin/pest --ci

.github/workflows/update-changelog.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- name: Checkout code
1313
uses: actions/checkout@v4
1414
with:
15-
ref: 3.x
15+
ref: 4.x
1616

1717
- name: Update Changelog
1818
uses: stefanzweifel/changelog-updater-action@v1
@@ -23,6 +23,6 @@ jobs:
2323
- name: Commit updated CHANGELOG
2424
uses: stefanzweifel/git-auto-commit-action@v5
2525
with:
26-
branch: 3.x
26+
branch: 4.x
2727
commit_message: Update CHANGELOG
2828
file_pattern: CHANGELOG.md

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@
1919
"type": "library",
2020
"authors": [
2121
{
22-
"name": "Lara Zeus (Ash)",
22+
"name": "Lara Zeus",
2323
"email": "info@larazeus.com"
2424
}
2525
],
2626
"require": {
27-
"php": "^8.1",
27+
"php": "^8.2",
2828
"lara-zeus/core": "^4.0"
2929
},
3030
"require-dev": {
@@ -66,7 +66,7 @@
6666
"dealerdirect/phpcodesniffer-composer-installer": true
6767
}
6868
},
69-
"minimum-stability": "dev",
69+
"minimum-stability": "stable",
7070
"extra": {
7171
"laravel": {
7272
"providers": [

0 commit comments

Comments
 (0)