mirror of
https://github.com/nextcloud/server.git
synced 2026-02-20 00:12:30 -05:00
Change output format of Psalm to Github
This automatically inlines the errors into the diff view. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
parent
239cd52045
commit
b4403201dc
1 changed files with 2 additions and 2 deletions
4
.github/workflows/static-code-analysis.yml
vendored
4
.github/workflows/static-code-analysis.yml
vendored
|
|
@ -22,7 +22,7 @@ jobs:
|
|||
- name: Composer install
|
||||
run: composer i
|
||||
- name: Psalm
|
||||
run: composer run psalm -- --monochrome --no-progress --output-format=text --update-baseline || ( git diff -- . ':!lib/composer' && exit 1 )
|
||||
run: composer run psalm -- --monochrome --no-progress --output-format=github --update-baseline || ( git diff -- . ':!lib/composer' && exit 1 )
|
||||
- name: Check diff
|
||||
run: git diff -- . ':!lib/composer'
|
||||
- name: Show potential changes in Psalm baseline
|
||||
|
|
@ -48,7 +48,7 @@ jobs:
|
|||
- name: Composer install
|
||||
run: composer i
|
||||
- name: Psalm
|
||||
run: composer run psalm -- -c psalm-ocp.xml --monochrome --no-progress --output-format=text --update-baseline || ( git diff -- . ':!lib/composer' && exit 1 )
|
||||
run: composer run psalm -- -c psalm-ocp.xml --monochrome --no-progress --output-format=github --update-baseline || ( git diff -- . ':!lib/composer' && exit 1 )
|
||||
- name: Check diff
|
||||
run: git diff -- . ':!lib/composer'
|
||||
- name: Show potential changes in Psalm baseline
|
||||
|
|
|
|||
Loading…
Reference in a new issue