Skip to content

Commit 99cf347

Browse files
committed
Fix PHPStan on examples workflow step
- Use ramsey/composer-install@v3 like integration-tests.yaml - Run link script before PHPStan analysis - This should handle missing Bridge packages more gracefully
1 parent 28ecba2 commit 99cf347

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

.github/workflows/code-quality.yaml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,18 @@ jobs:
6060
- name: Build root packages
6161
run: php .github/build-packages.php
6262

63+
- name: Install examples dependencies
64+
uses: ramsey/composer-install@v3
65+
with:
66+
working-directory: examples
67+
68+
- name: Link examples
69+
working-directory: examples
70+
run: ../link
71+
6372
- name: Run PHPStan on examples
64-
run: |
65-
cd examples/ && $COMPOSER_UP && ../link . && $PHPSTAN
73+
working-directory: examples
74+
run: $PHPSTAN
6675

6776
- name: Run PHPStan on packages
6877
run: |

0 commit comments

Comments
 (0)