Skip to content

Commit 8a7c780

Browse files
authored
Add Laravel version to CI job name (#2749)
1 parent eb9eb10 commit 8a7c780

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/build-ci.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
build:
99
runs-on: "${{ matrix.os }}"
1010

11-
name: "PHP v${{ matrix.php }} with MongoDB ${{ matrix.mongodb }} ${{ matrix.mode }}"
11+
name: "PHP ${{ matrix.php }} Laravel ${{ matrix.laravel }} MongoDB ${{ matrix.mongodb }} ${{ matrix.mode }}"
1212

1313
strategy:
1414
matrix:
@@ -23,8 +23,11 @@ jobs:
2323
- "8.1"
2424
- "8.2"
2525
- "8.3"
26+
laravel:
27+
- "10.*"
2628
include:
2729
- php: "8.1"
30+
laravel: "10.*"
2831
mongodb: "5.0"
2932
mode: "low-deps"
3033

@@ -58,6 +61,9 @@ jobs:
5861
if: ${{ runner.debug }}
5962
run: "docker version && env"
6063

64+
- name: "Restrict Laravel version"
65+
run: "composer require --dev --no-update 'laravel/framework:${{ matrix.laravel }}'"
66+
6167
- name: "Download Composer cache dependencies from cache"
6268
id: "composer-cache"
6369
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)