Merge pull request #23776 from nextcloud/fix/noid/update-psalm-baseline-update-to-composer-psalm
Update daily "update psalm baseline" job to composer psalm
This commit is contained in:
commit
3df62c1095
|
@ -15,13 +15,15 @@ jobs:
|
||||||
auth_header="$(git config --local --get http.https://github.com/.extraheader)"
|
auth_header="$(git config --local --get http.https://github.com/.extraheader)"
|
||||||
git submodule sync --recursive
|
git submodule sync --recursive
|
||||||
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
|
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
|
||||||
- name: Remove composer.json
|
- name: Set up php7.4
|
||||||
shell: bash
|
uses: shivammathur/setup-php@master
|
||||||
run: rm composer.json composer.lock
|
|
||||||
- name: Psalm
|
|
||||||
uses: docker://jakzal/phpqa:php7.4-alpine
|
|
||||||
with:
|
with:
|
||||||
args: psalm --monochrome --no-progress --output-format=text --update-baseline
|
php-version: 7.4
|
||||||
|
coverage: none
|
||||||
|
- name: Composer install
|
||||||
|
run: composer i
|
||||||
|
- name: Psalm
|
||||||
|
run: composer run psalm -- --monochrome --no-progress --output-format=text --update-baseline
|
||||||
- name: Reset composer.json and composer.lock
|
- name: Reset composer.json and composer.lock
|
||||||
run: |
|
run: |
|
||||||
git checkout -- composer.json composer.lock
|
git checkout -- composer.json composer.lock
|
||||||
|
|
Loading…
Reference in New Issue