From 8c7b2a001bf45ca825bf60021fb955f9e9d28dc0 Mon Sep 17 00:00:00 2001 From: Sukhwinder Dhillon Date: Wed, 30 Aug 2023 13:55:22 +0200 Subject: [PATCH] Github Action: Run phpstan even if codeSniffer fails --- .github/workflows/php.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index ec14747..abdbd3c 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -42,9 +42,9 @@ jobs: run: ./vendor/bin/phplint -n --exclude={^vendor/.*} -- . - name: PHP CodeSniffer - if: success() || matrix.allow_failure + if: ${{ ! cancelled() }} run: phpcs - name: PHPStan - uses: php-actions/phpstan@v3 - if: success() || matrix.allow_failure + if: ${{ ! cancelled() }} + uses: php-actions/phpstan@v3