Skip to content

Commit 8f6e2dd

Browse files
committed
Fix for psalm
1 parent 6fd0c8d commit 8f6e2dd

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

.github/workflows/test-psalm.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,12 @@ jobs:
2424
build:
2525
name: Psalm Analysis
2626
runs-on: ubuntu-latest
27-
if: (! contains(github.event.head_commit.message, '[ci skip]'))
27+
28+
strategy:
29+
fail-fast: false
30+
matrix:
31+
php-version:
32+
- '8.1'
2833

2934
steps:
3035
- name: Checkout base branch for PR
@@ -39,7 +44,7 @@ jobs:
3944
- name: Setup PHP
4045
uses: shivammathur/setup-php@v2
4146
with:
42-
php-version: '8.1'
47+
php-version: ${{ matrix.php-version }}
4348
extensions: intl, json, mbstring, xml, mysqli, oci8, pgsql, sqlsrv, sqlite3
4449
coverage: none
4550
env:
@@ -66,7 +71,9 @@ jobs:
6671
restore-keys: ${{ runner.os }}-psalm-
6772

6873
- name: Install dependencies
69-
run: composer update --ansi --no-interaction
74+
run: |
75+
composer require sebastian/diff:^5.0 --working-dir utils
76+
composer update --ansi --no-interaction
7077
7178
- name: Run Psalm analysis
7279
run: utils/vendor/bin/psalm

0 commit comments

Comments
 (0)