File tree Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 1
- name : Check code style format
1
+ name : Code Style
2
2
3
3
on : [push, pull_request]
4
4
5
5
jobs :
6
6
style :
7
- name : " PHP CS Fixer"
8
- runs-on : ubuntu-latest
7
+ runs-on : ${{ matrix.os }}
8
+ strategy :
9
+ matrix :
10
+ os : ['ubuntu-latest']
11
+ php : ['7.1', '7.3', '8.0']
12
+ name : " PHP CS Fixer - PHP v${{ matrix.php }}"
9
13
10
14
steps :
11
15
- name : Checkout code
14
18
- name : Setup PHP
15
19
uses : shivammathur/setup-php@v2
16
20
with :
17
- php-version : ' 7.1 '
21
+ php-version : ${{ matrix.php }}
18
22
coverage : none
19
23
20
24
- name : Install dependencies
Original file line number Diff line number Diff line change 10
10
}
11
11
],
12
12
"require" : {
13
- "php" : " ^7.1.0" ,
13
+ "php" : " ^7.1|^8 .0" ,
14
14
"friendsofphp/php-cs-fixer" : " ^2.16"
15
15
},
16
16
"autoload" : {
You can’t perform that action at this time.
0 commit comments