diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index d5bedc9..6d9f502 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -34,16 +34,16 @@ jobs: run: composer require -n --no-progress overtrue/phplint - name: PHP Lint - if: success() || matrix.allow_failure + if: ${{ ! cancelled() }} run: ./vendor/bin/phplint -n --exclude={^vendor/.*} -- . - name: PHP CodeSniffer - if: success() || matrix.allow_failure + if: ${{ ! cancelled() }} run: phpcs -wps --colors - name: PHPStan + if: ${{ ! cancelled() }} uses: php-actions/phpstan@v3 - if: success() || matrix.allow_failure test: name: Unit tests with php ${{ matrix.php }} on ${{ matrix.os }}