ci: always install deps and run PHPCS

This commit is contained in:
Ryan
2026-02-08 00:23:26 -05:00
committed by GitHub
parent 8e797e2aad
commit 074c45aa9d
+3 -8
View File
@@ -54,16 +54,11 @@ jobs:
coverage: none
- name: Install Composer dependencies
run: |
if [ -f composer.json ]; then
composer install --no-interaction --prefer-dist --no-progress
fi
unset COMPOSER_NO_DEV
composer install --no-interaction --prefer-dist --no-progress
- name: PHPCS (PSR-12 scoped)
run: |
if [ -f vendor/bin/phpcs ] && [ -f phpcs.xml ]; then
./vendor/bin/phpcs --standard=phpcs.xml src/FileRise
else
echo "PHPCS not configured."
fi
./vendor/bin/phpcs --standard=phpcs.xml src/FileRise
shellcheck:
runs-on: ubuntu-latest