File tree Expand file tree Collapse file tree 1 file changed +7
-12
lines changed Expand file tree Collapse file tree 1 file changed +7
-12
lines changed Original file line number Diff line number Diff line change 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 : |
You can’t perform that action at this time.
0 commit comments