File tree Expand file tree Collapse file tree 2 files changed +24
-32
lines changed
Expand file tree Collapse file tree 2 files changed +24
-32
lines changed Original file line number Diff line number Diff line change 1- name : tests
1+ name : ci
22
33on :
44 push :
55 pull_request :
66
77jobs :
8- tests :
8+ static_analysis :
9+ name : Static analysis
10+ runs-on : ubuntu-latest
11+
12+ steps :
13+ - name : Checkout code
14+ uses : actions/checkout@v2
915
16+ - name : Setup PHP
17+ uses : shivammathur/setup-php@v2
18+ with :
19+ php-version : ' 8.0'
20+ extensions : curl
21+ tools : composer:v2
22+ coverage : none
23+
24+ - name : Install PHP dependencies
25+ run : composer update --prefer-dist --no-interaction --no-progress
26+
27+ - name : Run PHPStan
28+ run : vendor/bin/phpstan analyze
29+
30+ tests :
31+ name : Tests ${{ matrix.php }}
1032 runs-on : ubuntu-latest
1133 strategy :
1234 matrix :
1840 - ' 8.3'
1941 - ' 8.4'
2042
21- name : PHP ${{ matrix.php }}
22-
2343 steps :
2444 - name : Checkout code
2545 uses : actions/checkout@v2
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments