Skip to content

Commit 06a1069

Browse files
committed
Test Laravel 10 and 11
1 parent ebaaf14 commit 06a1069

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/build-ci.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,20 @@ jobs:
2323
- "8.1"
2424
- "8.2"
2525
- "8.3"
26+
laravel:
27+
- "10.*"
2628
include:
2729
- php: "8.1"
2830
mongodb: "5.0"
2931
mode: "low-deps"
30-
# Laravel 11
32+
- php: "8.2"
33+
mongodb: "4.4"
34+
mode: "dev"
35+
laravel: "11.*"
3136
- php: "8.3"
3237
mongodb: "7.0"
3338
mode: "dev"
39+
laravel: "11.*"
3440
steps:
3541
- uses: "actions/checkout@v4"
3642

@@ -61,6 +67,9 @@ jobs:
6167
if: ${{ runner.debug }}
6268
run: "docker version && env"
6369

70+
- name: "Restrict Laravel version"
71+
run: "composer require --dev --no-update 'laravel/framework:${{ matrix.laravel }}'"
72+
6473
- name: "Download Composer cache dependencies from cache"
6574
id: "composer-cache"
6675
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)