File tree Expand file tree Collapse file tree 2 files changed +35
-17
lines changed
Expand file tree Collapse file tree 2 files changed +35
-17
lines changed Original file line number Diff line number Diff line change 3838
3939 - name : PHPUnit
4040 run : ./vendor/bin/phpunit
41-
42- psalm :
43- runs-on : ubuntu-latest
44-
45- steps :
46- - uses : actions/checkout@v3
47-
48- - name : Setup PHP
49- uses : shivammathur/setup-php@v2
50- with :
51- php-version : 8.0
52-
53- - name : Install dependencies
54- run : composer install --prefer-dist --no-progress
55-
56- - name : Psalm
57- run : ./vendor/bin/psalm --no-progress --no-cache --no-suggestions --report=report.json --memory-limit=2G
Original file line number Diff line number Diff line change 1+ name : PHPUnit & PHPStan
2+
3+ on : [push]
4+
5+ permissions :
6+ contents : read
7+
8+ jobs :
9+ psalm :
10+ name : Psalm
11+ runs-on : Ubuntu-20.04
12+
13+ env :
14+ php-version : ' 8.0'
15+ steps :
16+ - name : Setup PHP
17+ uses : shivammathur/setup-php@v2
18+ with :
19+ php-version : ${{ env.php-version }}
20+ ini-values : " memory_limit=-1"
21+ coverage : none
22+
23+ - name : Checkout target branch
24+ uses : actions/checkout@v4
25+ with :
26+ ref : ${{ github.base_ref }}
27+
28+ - name : Checkout PR
29+ uses : actions/checkout@v4
30+
31+ - name : Install dependencies
32+ run : composer install --prefer-dist --no-progress
33+
34+ - name : Psalm
35+ run : ./vendor/bin/psalm.phar --output-format=github --no-progress
You can’t perform that action at this time.
0 commit comments