mirror of
https://github.com/error311/FileRise.git
synced 2026-05-06 12:01:00 -05:00
ci: always install deps and run PHPCS
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user