summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci-build.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml
index 2aa6c5f8..894d4cc2 100644
--- a/.github/workflows/ci-build.yml
+++ b/.github/workflows/ci-build.yml
@@ -46,9 +46,6 @@ jobs:
- name: Syntax check only (lint)
run: find ./src/ -name "*.php" -print0 | xargs -0 -n1 -P8 php -l
- - name: Check PHP sources using phpstan
- run: composer require phpstan/phpstan '~0.12' && php ./vendor/bin/phpstan analyze --level max --no-progress --ansi ./src
-
- name: Get Composer Cache Directory # Docs: <https://github.com/actions/cache/blob/master/examples.md#php---composer>
id: composer-cache
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
@@ -63,6 +60,9 @@ jobs:
- name: Install Composer dependencies
run: composer install --prefer-dist --no-interaction --no-suggest # --prefer-source
+ - name: Analyze PHP source
+ run: composer analyze
+
- name: Install Go dependencies
run: go mod download