File tree 1 file changed +62
-0
lines changed
1 file changed +62
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : validate-on-push
2
+ on : [push]
3
+ jobs :
4
+ linter :
5
+ runs-on : ubuntu-latest
6
+ steps :
7
+ - uses : actions/checkout@v3
8
+ - uses : php-actions/composer@v6
9
+ with :
10
+ php_version : ' 8.1'
11
+ - uses : php-actions/composer@v6
12
+ with :
13
+ php_version : ' 8.1'
14
+ command : lint
15
+
16
+ unit-tests-php73 :
17
+ runs-on : ubuntu-latest
18
+ steps :
19
+ - uses : actions/checkout@v3
20
+ - uses : php-actions/composer@v6
21
+ with :
22
+ php_version : ' 7.3'
23
+ - uses : php-actions/composer@v6
24
+ with :
25
+ php_version : ' 7.3'
26
+ command : test
27
+
28
+ unit-tests-php74 :
29
+ runs-on : ubuntu-latest
30
+ steps :
31
+ - uses : actions/checkout@v3
32
+ - uses : php-actions/composer@v6
33
+ with :
34
+ php_version : ' 7.4'
35
+ - uses : php-actions/composer@v6
36
+ with :
37
+ php_version : ' 7.4'
38
+ command : test
39
+
40
+ unit-tests-php80 :
41
+ runs-on : ubuntu-latest
42
+ steps :
43
+ - uses : actions/checkout@v3
44
+ - uses : php-actions/composer@v6
45
+ with :
46
+ php_version : ' 8.0'
47
+ - uses : php-actions/composer@v6
48
+ with :
49
+ php_version : ' 8.0'
50
+ command : test
51
+
52
+ unit-tests-php81 :
53
+ runs-on : ubuntu-latest
54
+ steps :
55
+ - uses : actions/checkout@v3
56
+ - uses : php-actions/composer@v6
57
+ with :
58
+ php_version : ' 8.1'
59
+ - uses : php-actions/composer@v6
60
+ with :
61
+ php_version : ' 8.1'
62
+ command : test
You can’t perform that action at this time.
0 commit comments