From 7e3b0f012f958c9e432c2afd3680a1620e1ab537 Mon Sep 17 00:00:00 2001 From: Pieter Maene Date: Thu, 29 Oct 2020 19:34:13 +0100 Subject: [PATCH] Integrated GitHub Action to run PHPStan --- .github/workflows/php.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index b7fd70a233..0ad822b924 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -15,9 +15,17 @@ jobs: - name: Checkout uses: actions/checkout@v2.3.3 + - name: Install Composer dependencies + uses: litusproject/composer-install-action@main + - name: Run PHP_CodeSniffer + if: ${{ always() }} uses: litusproject/php-codesniffer-action@main + - name: Run PHPStan + if: ${{ always() }} + uses: litusproject/phpstan-action@main + test: name: Test runs-on: ubuntu-latest