File tree Expand file tree Collapse file tree 3 files changed +159
-493
lines changed Expand file tree Collapse file tree 3 files changed +159
-493
lines changed Original file line number Diff line number Diff line change
1
+ name : PHP 8.1
2
+
3
+ on :
4
+ push :
5
+ branches : [main]
6
+ pull_request :
7
+ branches : [main]
8
+
9
+ jobs :
10
+ build :
11
+ runs-on : ubuntu-latest
12
+ steps :
13
+ - name : Checkout
14
+ uses : actions/checkout@v2
15
+
16
+ - name : Setup PHP Action
17
+ uses :
shivammathur/[email protected]
18
+ with :
19
+ php-version : ' 8.1'
20
+
21
+ - name : Validate composer.json and composer.lock
22
+ run : composer validate
23
+
24
+ - name : Install dependencies
25
+ run : composer install --prefer-dist --no-progress
26
+
27
+ - name : Run style check
28
+ run : composer run style
29
+
30
+ - name : Run static analyzer
31
+ run : composer run stan
32
+
33
+ - name : Run tests
34
+ run : composer run test
Original file line number Diff line number Diff line change 11
11
],
12
12
"require" : {
13
13
"php" : " ^8.0" ,
14
- "8fold/php-xml-builder" : " ^1.0.0 "
14
+ "8fold/php-xml-builder" : " ^1.0"
15
15
},
16
16
"require-dev" : {
17
- "phpstan/phpstan" : " ^1.2.0 " ,
17
+ "phpstan/phpstan" : " ^1.2" ,
18
18
"phpunit/phpunit" : " ^9.5" ,
19
19
"squizlabs/php_codesniffer" : " ^3.6"
20
20
},
You can’t perform that action at this time.
0 commit comments