Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2020-08-19 19:12:15 +0300
committerMorris Jobke <hey@morrisjobke.de>2020-08-19 19:16:35 +0300
commit4db7829f43cef3eb615068fbaffba37dadbf2c06 (patch)
treee9279c56cae485f14e4e88e15009ef66a091ab65 /.github/workflows/static-code-analysis.yml
parentfedf9c69d9c84fc0399badef39ed765de72c08f1 (diff)
Better psalm CI output
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 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 )"