diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index 01401f6..02c0c3c 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -73,4 +73,9 @@ jobs: run: "mkdir -p .build/psalm" - name: "Run vimeo/psalm" + if: "${{ hashFiles('vendor/bin/psalm') != '' }}" run: "vendor/bin/psalm --config=psalm.xml --output-format=github --shepherd --show-info=false --stats --threads=4" + + - name: "Run vimeo/psalm" + if: "${{ hashFiles('vendor/bin/psalm.phar') != '' }}" + run: "vendor/bin/psalm.phar --config=psalm.xml --output-format=github --shepherd --show-info=false --stats --threads=4"