File tree 2 files changed +14
-4
lines changed
2 files changed +14
-4
lines changed Original file line number Diff line number Diff line change 19
19
uses : " actions/checkout@v2"
20
20
21
21
- name : " Install PHP with extensions"
22
- uses : " shivammathur/setup-php@v1 "
22
+ uses : " shivammathur/setup-php@v2 "
23
23
with :
24
24
coverage : " none"
25
25
extensions : " simplexml"
@@ -35,16 +35,26 @@ jobs:
35
35
name : " Tests"
36
36
37
37
runs-on : " ubuntu-latest"
38
+
39
+ strategy :
40
+ matrix :
41
+ php-version :
42
+ - " 7.0"
43
+ - " 7.1"
44
+ - " 7.2"
45
+ - " 7.3"
46
+ - " 7.4"
47
+ - " 8.0"
38
48
39
49
steps :
40
50
- name : " Checkout"
41
51
uses : " actions/checkout@v2"
42
52
43
53
- name : " Install PHP with extensions"
44
- uses : " shivammathur/setup-php@v1 "
54
+ uses : " shivammathur/setup-php@v2 "
45
55
with :
46
56
coverage : " none"
47
57
extensions : " simplexml"
48
- php-version : " 7.0 "
58
+ php-version : " ${{ matrix.php-version }} "
49
59
50
60
- run : php tests/tests.php
Original file line number Diff line number Diff line change 2
2
"name" : " staabm/annotate-pull-request-from-checkstyle" ,
3
3
"license" : " MIT" ,
4
4
"require" : {
5
- "php" : " ^7.0" ,
5
+ "php" : " ^7.0 || ^8.0 " ,
6
6
"ext-simplexml" : " *"
7
7
},
8
8
"require-dev" : {
You can’t perform that action at this time.
0 commit comments