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
3
3
on : [ push, pull_request ]
4
4
5
5
jobs :
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
-
26
6
tests :
27
- name : " Tests"
28
- runs-on : " ubuntu-20.04"
7
+ runs-on : " ubuntu-latest"
29
8
strategy :
30
9
matrix :
31
10
php-version :
43
22
- name : " Install dependencies with Composer"
44
23
uses : " ramsey/composer-install@v2"
45
24
25
+ - name : " Run phpcs"
26
+ if : ${{ matrix.php-version == '8.3' }}
27
+ run : " vendor/bin/phpcs -n -s --report=checkstyle | cs2pr"
28
+
46
29
- name : " Run PHPUnit"
47
30
run : " vendor/bin/phpunit"
48
31
You can’t perform that action at this time.
0 commit comments