Merge pull request #575 from nextcloud/feat/workflow-auto-update-lint-php.yml

Updating lint-php.yml workflow from template
This commit is contained in:
blizzz 2022-01-24 10:54:25 +01:00 committed by GitHub
commit 253e81d3ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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