Merge pull request #2804 from jrfnl/feature/ghactions-harden-cs-steps

GH Actions: harden the workflow against PHPCS ruleset errors
This commit is contained in:
Marcus Bointon 2022-10-25 16:37:41 +02:00 committed by GitHub
commit a42b4e4906
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -32,10 +32,11 @@ jobs:
uses: "ramsey/composer-install@v2"
- name: Check coding standards
continue-on-error: true
id: phpcs
run: ./vendor/bin/phpcs -s --report-full --report-checkstyle=./phpcs-report.xml
- name: Show PHPCS results in PR
if: ${{ always() && steps.phpcs.outcome == 'failure' }}
run: cs2pr ./phpcs-report.xml
lint: