Browse Source
Merge pull request #21813 from nextcloud/enh/noid/report-code-style-to-github
Report php-cs-fixer errors to GitHub
pull/21791/head
Morris Jobke
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
1 deletions
-
.github/workflows/lint.yml
|
|
|
@ -30,7 +30,8 @@ jobs: |
|
|
|
with: |
|
|
|
php-version: 7.4 |
|
|
|
coverage: none |
|
|
|
tools: cs2pr |
|
|
|
- name: Install dependencies |
|
|
|
run: composer i |
|
|
|
- name: Run coding standards check |
|
|
|
run: composer run cs:check || ( echo 'Please run `composer run cs:fix` to format your code' && exit 1 ) |
|
|
|
run: composer run cs:check -- --format=checkstyle | cs2pr |