Skip to content

Commit fc9d18f

Browse files
committed
-
1 parent e62d909 commit fc9d18f

File tree

1 file changed

+7
-12
lines changed

1 file changed

+7
-12
lines changed

.github/workflows/code-quality.yaml

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- name: Configure environment
3030
run: |
3131
echo COLUMNS=120 >> $GITHUB_ENV
32-
echo COMPOSER_UP='composer update --no-progress --no-interaction --ansi --ignore-platform-req=ext-mongodb' >> $GITHUB_ENV
32+
echo COMPOSER_UP='composer update --no-progress --no-interaction --no-scripts --ansi --ignore-platform-req=ext-mongodb' >> $GITHUB_ENV
3333
echo PHPSTAN='vendor/bin/phpstan' >> $GITHUB_ENV
3434
3535
PACKAGES=$(find src/ -mindepth 2 -type f -name composer.json -not -path "*/vendor/*" -printf '%h\n' | sed 's/^src\///' | grep -Ev "examples" | sort | tr '\n' ' ')
@@ -60,18 +60,13 @@ jobs:
6060
- name: Build root packages
6161
run: php .github/build-packages.php
6262

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

0 commit comments

Comments
 (0)