Skip to content

Commit

Permalink
chore: Fix update-psalm-baseline to use correct php version depending…
Browse files Browse the repository at this point in the history
… on branch

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
  • Loading branch information
come-nc committed Apr 16, 2024
1 parent 3ad4bbb commit 1babaa7
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/update-psalm-baseline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,13 @@ jobs:
strategy:
fail-fast: false
matrix:
php-versions: []
branches: ["master", "stable29", "stable28", "stable27"]
include:
- php-versions: '8.0'
branches: ["stable29", "stable28", "stable27"]
- php-versions: '8.1'
branches: ["master"]

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

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

0 comments on commit 1babaa7

Please sign in to comment.