Allow composer validate to fail

Signed-off-by: William Desportes <williamdes@wdes.fr>
This commit is contained in:
William Desportes 2022-12-13 20:34:50 +01:00
parent 67f3901b74
commit ba23175d6a
No known key found for this signature in database
GPG Key ID: 90A0EF1B8251A889

View File

@ -62,6 +62,8 @@ jobs:
run: composer validate --strict
- name: Install Composer dependencies
# Allow the previous check to fail but not abort
if: always()
uses: ramsey/composer-install@v2
with:
dependency-versions: highest
@ -69,18 +71,26 @@ jobs:
composer-options: "--ignore-platform-req=ext-zip"
- name: Cache coding-standard
# Allow the previous check to fail but not abort
if: always()
uses: actions/cache@v3
with:
path: .phpcs-cache
key: phpcs-cache
- name: Lint PHP files
# Allow the previous check to fail but not abort
if: always()
run: ./test/ci-phplint
- name: Check coding-standard
# Allow the previous check to fail but not abort
if: always()
run: composer phpcs
- name: Check Twig templates
# Allow the previous check to fail but not abort
if: always()
run: composer run twig-lint
analyse-php: