Skip to content

Commit 1babaa7

Browse files
committed
chore: Fix update-psalm-baseline to use correct php version depending on branch
Signed-off-by: Côme Chilliet <[email protected]>
1 parent 3ad4bbb commit 1babaa7

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/update-psalm-baseline.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,13 @@ jobs:
1414
strategy:
1515
fail-fast: false
1616
matrix:
17+
php-versions: []
1718
branches: ["master", "stable29", "stable28", "stable27"]
19+
include:
20+
- php-versions: '8.0'
21+
branches: ["stable29", "stable28", "stable27"]
22+
- php-versions: '8.1'
23+
branches: ["master"]
1824

1925
name: update-psalm-baseline-${{ matrix.branches }}
2026

@@ -27,7 +33,7 @@ jobs:
2733
- name: Set up php
2834
uses: shivammathur/setup-php@v2
2935
with:
30-
php-version: '8.1'
36+
php-version: ${{ matrix.php-versions }}
3137
extensions: apcu,ctype,curl,dom,fileinfo,ftp,gd,intl,json,ldap,mbstring,openssl,pdo_sqlite,posix,sqlite,xml,zip
3238
coverage: none
3339
env:

0 commit comments

Comments
 (0)