Skip to content

Commit

Permalink
add phpstan to github workflow #10
Browse files Browse the repository at this point in the history
  • Loading branch information
gregor-j committed Apr 5, 2024
1 parent a486d24 commit 08d7447
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 08d7447

Please sign in to comment.