summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2020-08-19 18:12:15 +0200
committerMorris Jobke <hey@morrisjobke.de>2020-08-19 18:16:35 +0200
commit4db7829f43cef3eb615068fbaffba37dadbf2c06 (patch)
treee9279c56cae485f14e4e88e15009ef66a091ab65 /.github
parentfedf9c69d9c84fc0399badef39ed765de72c08f1 (diff)
downloadnextcloud-server-4db7829f43cef3eb615068fbaffba37dadbf2c06.tar.gz
nextcloud-server-4db7829f43cef3eb615068fbaffba37dadbf2c06.zip
Better psalm CI output
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to '.github')
-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 f90e102a99d..184b58a7472 100644
--- a/.github/workflows/static-code-analysis.yml
+++ b/.github/workflows/static-code-analysis.yml
@@ -19,7 +19,7 @@ jobs:
- name: Psalm
uses: docker://jakzal/phpqa:php7.4-alpine
with:
- args: psalm --monochrome --no-progress --output-format=text --update-baseline
+ args: psalm --monochrome --no-progress --output-format=text --update-baseline || ( git diff && exit 1 )
- name: Check for changes in Psalm baseline
run: |
- bash -c "[[ ! \"`git status --porcelain build/psalm-baseline.xml`\" ]] || ( echo 'Uncommited changes in Psalm baseline' && git status && git diff && exit 1 )"
+ bash -c "[[ ! \"`git status --porcelain build/psalm-baseline.xml`\" ]] || ( echo 'Uncommited changes in Psalm baseline' && git status && git diff build/psalm-baseline.xml && exit 1 )"