File tree Expand file tree Collapse file tree 1 file changed +5
-22
lines changed
Expand file tree Collapse file tree 1 file changed +5
-22
lines changed Original file line number Diff line number Diff line change @@ -3,29 +3,8 @@ name: Build
33on : [ push, pull_request ]
44
55jobs :
6- coding-standards :
7- name : " Coding Standards"
8- runs-on : " ubuntu-latest"
9- steps :
10- - name : " Checkout"
11- uses : " actions/checkout@v2"
12-
13- - name : " Install PHP"
14- uses : " shivammathur/setup-php@v2"
15- with :
16- coverage : " none"
17- php-version : " 8.3"
18- tools : " cs2pr"
19-
20- - name : " Install dependencies with Composer"
21- uses : " ramsey/composer-install@v2"
22-
23- - name : " Run PHP_CodeSniffer"
24- run : " vendor/bin/phpcs -n -s --report=checkstyle | cs2pr"
25-
266 tests :
27- name : " Tests"
28- runs-on : " ubuntu-20.04"
7+ runs-on : " ubuntu-latest"
298 strategy :
309 matrix :
3110 php-version :
4322 - name : " Install dependencies with Composer"
4423 uses : " ramsey/composer-install@v2"
4524
25+ - name : " Run phpcs"
26+ if : ${{ matrix.php-version == '8.3' }}
27+ run : " vendor/bin/phpcs -n -s --report=checkstyle | cs2pr"
28+
4629 - name : " Run PHPUnit"
4730 run : " vendor/bin/phpunit"
4831
You can’t perform that action at this time.
0 commit comments