summaryrefslogtreecommitdiffstats
path: root/.github/workflows/static-code-analysis.yml
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2021-10-03 14:41:31 +0200
committerGitHub <noreply@github.com>2021-10-03 14:41:31 +0200
commitb4403201dc192f7d526493ee2c44fff5d9124263 (patch)
tree70169765144bacd282bccf719dcb426471e87e9b /.github/workflows/static-code-analysis.yml
parent239cd520459be266fa707fba9a7f25f8688a9683 (diff)
downloadnextcloud-server-b4403201dc192f7d526493ee2c44fff5d9124263.tar.gz
nextcloud-server-b4403201dc192f7d526493ee2c44fff5d9124263.zip
Change output format of Psalm to Github
This automatically inlines the errors into the diff view. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to '.github/workflows/static-code-analysis.yml')
-rw-r--r--.github/workflows/static-code-analysis.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/static-code-analysis.yml b/.github/workflows/static-code-analysis.yml
index fb415b585ec..0a2df0d71f9 100644
--- a/.github/workflows/static-code-analysis.yml
+++ b/.github/workflows/static-code-analysis.yml
@@ -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