diff options
author | Nextcloud bot <bot@nextcloud.com> | 2022-01-28 23:33:56 +0000 |
---|---|---|
committer | Anna Larch <anna@nextcloud.com> | 2022-02-10 10:28:01 +0100 |
commit | f56d3368595512d7e9e1a932fd01d16ed43021e4 (patch) | |
tree | 7f6d5d3126864795805ef9292b710a81eb90a057 /.github | |
parent | 0e3fa9f93dfa52d87e2f3d341018c4c0f1d4b197 (diff) |
Updating lint-php.yml workflow from template
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/lint-php.yml | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/.github/workflows/lint-php.yml b/.github/workflows/lint-php.yml index 943e80b8..c1d72cc6 100644 --- a/.github/workflows/lint-php.yml +++ b/.github/workflows/lint-php.yml @@ -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 |