diff options
author | Morris Jobke <hey@morrisjobke.de> | 2020-08-19 18:12:15 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2020-08-19 18:16:35 +0200 |
commit | 4db7829f43cef3eb615068fbaffba37dadbf2c06 (patch) | |
tree | e9279c56cae485f14e4e88e15009ef66a091ab65 /.github | |
parent | fedf9c69d9c84fc0399badef39ed765de72c08f1 (diff) | |
download | nextcloud-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.yml | 4 |
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 )" |