mirror of https://github.com/nextcloud/contacts
Merge pull request #2613 from nextcloud/feat/workflow-auto-update-lint-php.yml
Updating lint-php.yml workflow from template
This commit is contained in:
commit
ce58a4f865
|
@ -13,13 +13,13 @@ on:
|
|||
- stable*
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
php-lint:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
php-versions: ["7.3", "7.4", "8.0"]
|
||||
php-versions: ["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
|
||||
|
|
Loading…
Reference in New Issue