diff options
-rw-r--r-- | .github/workflows/lint-php.yml | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/.github/workflows/lint-php.yml b/.github/workflows/lint-php.yml index 3e8bac9..45493c3 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"] - 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 |