Skip to content

Commit

Permalink
SDK-5711: updated CI
Browse files Browse the repository at this point in the history
  • Loading branch information
vol4onok committed Jan 5, 2024
1 parent ff3d094 commit 20335f2
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,7 @@ jobs:
restore-keys: ${{ runner.os }}-composer-

- name: Composer install
run: |
composer --version
if [[ ${{ matrix.php-version }} == '8.2' || ${{ matrix.php-version }} == '8.3' ]]; then
composer update laminas/laminas-servicemanager laminas/laminas-stdlib laminas/laminas-filter --prefer-stable --optimize-autoloader
else
composer install --prefer-dist --no-interaction --optimize-autoloader
fi
run: composer install --prefer-dist --no-interaction --optimize-autoloader

- name: Check PHP for syntax errors
run: find ./src -path src -prune -o -type f -name '*.php' -print0 | xargs -0 -n1 -P4 php -l -n | (! grep -v "No syntax errors detected" )
Expand Down

0 comments on commit 20335f2

Please sign in to comment.