File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed
Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Static Analysis
2+
3+ permissions :
4+ contents : read
5+ packages : read
6+
7+ on :
8+ push :
9+ branches :
10+ - main
11+ pull_request :
12+
13+ env :
14+ PHP_VERSION : 8.4
15+ PSALM_VERSION : 6.14.3
16+
17+ jobs :
18+ Psalm :
19+ name : Psalm
20+ runs-on : ubuntu-latest
21+ steps :
22+ - uses : shivammathur/setup-php@v2
23+ with :
24+ php-version : ${{ env.PHP_VERSION }}
25+ coverage : none
26+ tools : composer:v2
27+ - uses : actions/checkout@v4
28+ - run : composer install --no-interaction --no-progress --ansi --no-scripts
29+ - name : Run Psalm
30+ run : |
31+ docker pull --quiet ghcr.io/webfactory/psalm:$PSALM_VERSION
32+ docker run --tty -v $(pwd):/app -v $HOME/cache:/cache ghcr.io/webfactory/psalm:$PSALM_VERSION --show-info=false --stats --output-format=github
You can’t perform that action at this time.
0 commit comments