Browse Source

Do not fail on changes to baseline.xml

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
tags/v21.0.0beta1
Morris Jobke 3 years ago
parent
commit
106c8d719c
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      .github/workflows/static-code-analysis.yml

+ 1
- 1
.github/workflows/static-code-analysis.yml View File

@@ -23,7 +23,7 @@ jobs:
- name: Psalm
run: composer run psalm -- --monochrome --no-progress --output-format=text --update-baseline || ( git diff -- . ':!lib/composer' && exit 1 )
- name: Check diff
run: git diff -- . ':!lib/composer' && exit 1
run: git diff -- . ':!lib/composer'
- name: Show potential changes in Psalm baseline
run: |
bash -c "[[ ! \"`git status --porcelain build/psalm-baseline.xml`\" ]] || ( echo 'Uncommited changes in Psalm baseline' && git status && git diff build/psalm-baseline.xml)"

Loading…
Cancel
Save