File tree Expand file tree Collapse file tree 2 files changed +36
-6
lines changed
Expand file tree Collapse file tree 2 files changed +36
-6
lines changed Original file line number Diff line number Diff line change 5858 - name : PHPUnit tests
5959 run : vendor/bin/phpunit
6060
61- - name : Static Analysis
62- run : vendor/bin/psalm
63-
6461 modern :
6562 name : PHP ${{ matrix.php-versions }} Test on ${{ matrix.operating-system }}
6663 runs-on : ${{ matrix.operating-system }}
8582 run : composer install
8683 - name : PHPUnit tests
8784 run : vendor/bin/phpunit
88-
89- - name : Static Analysis
90- run : vendor/bin/psalm
Original file line number Diff line number Diff line change 1+ name : Psalm
2+
3+ on : [push]
4+
5+ jobs :
6+ psalm :
7+ name : Psalm on PHP ${{ matrix.php-versions }}
8+ runs-on : ${{ matrix.operating-system }}
9+ strategy :
10+ matrix :
11+ operating-system : ['ubuntu-latest']
12+ php-versions : ['8.4']
13+ steps :
14+ - name : Checkout
15+ uses : actions/checkout@v4
16+
17+ - name : Rename psalm.xml to psalm-old.xml
18+ run : mv psalm.xml psalm-old.xml
19+
20+ - name : Rename psalm-new.xml to psalm.xml
21+ run : mv psalm-new.xml psalm.xml
22+
23+ - name : Setup PHP
24+ uses : shivammathur/setup-php@v2
25+ with :
26+ php-version : ${{ matrix.php-versions }}
27+ tools : psalm:6
28+ coverage : none
29+
30+ - name : Install Composer dependencies
31+ uses : " ramsey/composer-install@v3"
32+ with :
33+ composer-options : --no-dev
34+
35+ - name : Static Analysis
36+ run : psalm
You can’t perform that action at this time.
0 commit comments