summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorParamtamtam <[email protected]>2019-12-25 21:14:50 +0500
committerParamtamtam <[email protected]>2019-12-25 21:14:50 +0500
commit2e0f9fac31764ff137ff0e1a03bfc332f94e1e0f (patch)
tree369de926453e934fe99068958f49248544cf6a6f /.github
parent0e1e9e4b23a46864bb58c96f8530f60474461f53 (diff)
PHPstan installed
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