Skip to content

Commit 85d6ff9

Browse files
Add Laravel 13 support (#94)
* Bump dependencies for Laravel 13 * Update GitHub Actions for Laravel 13 --------- Co-authored-by: Shift <shift@laravelshift.com>
1 parent 140bb35 commit 85d6ff9

File tree

2 files changed

+32
-29
lines changed

2 files changed

+32
-29
lines changed

.github/workflows/run-tests.yml

Lines changed: 31 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,35 @@
11
name: run-tests
22

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

57
jobs:
6-
test:
7-
runs-on: ${{ matrix.os }}
8-
strategy:
9-
fail-fast: false
10-
matrix:
11-
os: [ubuntu-latest]
12-
php: [8.2, 8.1, 8.0, 7.4]
13-
dependency-version: [prefer-lowest, prefer-stable]
14-
15-
name: P${{ matrix.php }} - ${{ matrix.dependency-version }} - ${{ matrix.os }}
16-
17-
steps:
18-
- name: Checkout code
19-
uses: actions/checkout@v6
20-
21-
- name: Setup PHP
22-
uses: shivammathur/setup-php@v2
23-
with:
24-
php-version: ${{ matrix.php }}
25-
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick
26-
coverage: none
27-
28-
- name: Install dependencies
29-
run: composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest
30-
31-
- name: Execute tests
32-
run: vendor/bin/pest
8+
test:
9+
runs-on: ${{ matrix.os }}
10+
11+
strategy:
12+
fail-fast: false
13+
matrix:
14+
os: [ubuntu-latest]
15+
php: [7.4, 8.0, 8.1, 8.2, '8.3', '8.4', '8.5']
16+
dependency-version: [prefer-lowest, prefer-stable]
17+
18+
name: P${{ matrix.php }} - ${{ matrix.dependency-version }} - ${{ matrix.os }}
19+
20+
steps:
21+
- name: Checkout code
22+
uses: actions/checkout@v6
23+
24+
- name: Setup PHP
25+
uses: shivammathur/setup-php@v2
26+
with:
27+
php-version: ${{ matrix.php }}
28+
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick
29+
coverage: none
30+
31+
- name: Install dependencies
32+
run: composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest
33+
34+
- name: Execute tests
35+
run: vendor/bin/pest

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"league/fractal": "^0.20.1"
2424
},
2525
"require-dev": {
26-
"illuminate/pagination": "~5.3.0|~5.4.0|^9.0",
26+
"illuminate/pagination": "~5.3.0|~5.4.0|^9.0|^13.0",
2727
"pestphp/pest": "^1.22",
2828
"phpunit/phpunit": "^9.0"
2929
},

0 commit comments

Comments
 (0)