Add a check for fixes in the psalm baseline
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
parent
4efca69f8d
commit
80056e081a
|
@ -19,4 +19,7 @@ jobs:
|
||||||
- name: Psalm
|
- name: Psalm
|
||||||
uses: docker://jakzal/phpqa:php7.4-alpine
|
uses: docker://jakzal/phpqa:php7.4-alpine
|
||||||
with:
|
with:
|
||||||
args: psalm --monochrome --no-progress --output-format=text
|
args: psalm --monochrome --no-progress --output-format=text --update-baseline
|
||||||
|
- name: Check for changes in Psalm baseline
|
||||||
|
run: |
|
||||||
|
bash -c "[[ ! \"`git status --porcelain `\" ]] || ( echo 'Uncommited changes in Psalm baseline' && git status && git diff && exit 1 )"
|
||||||
|
|
Loading…
Reference in New Issue