From 08d744795012423705a72a39dee594f33934dcb6 Mon Sep 17 00:00:00 2001 From: Gregor Date: Fri, 5 Apr 2024 18:44:51 +0200 Subject: [PATCH] add phpstan to github workflow #10 --- .github/workflows/main.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8376273..3737797 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -58,6 +58,12 @@ jobs: - name: "Composer install dependencies" run: "composer install --prefer-dist --no-progress" + - name: "PHPStan Static Analysis" + uses: "php-actions/phpstan@v3" + with: + php_version: "${{ matrix.php_version }}" + configuration: "phpstan.neon" + - name: "CodeClimate Reporter Setup" run: | curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter