Updating lint-php.yml workflow from template

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
This commit is contained in:
Nextcloud bot 2022-01-19 16:42:55 +00:00
parent d1f5a8314a
commit c3b8237692

View file

@ -13,13 +13,13 @@ on:
- stable*
jobs:
lint:
php-lint:
runs-on: ubuntu-latest
strategy:
matrix:
php-versions: ["7.3", "7.4", "8.0"]
name: php
name: php-lint
steps:
- name: Checkout
@ -33,3 +33,15 @@ jobs:
- name: Lint
run: composer run lint
summary:
runs-on: ubuntu-latest
needs: php-lint
if: always()
name: php-lint-summary
steps:
- name: Summary status
run: if ${{ needs.php-lint.result != 'success' && needs.php-lint.result != 'skipped' }}; then exit 1; fi