File tree 6 files changed +804
-1639
lines changed
6 files changed +804
-1639
lines changed Original file line number Diff line number Diff line change
1
+ name : Validate Composer dependencies
2
+ # this workflows check composer dependency installation
3
+ # using the commited composer.lock
4
+ # validate on php7.4 and 8.2
5
+
6
+ on :
7
+ pull_request :
8
+ branches :
9
+ - alpha
10
+
11
+ jobs :
12
+ build-test :
13
+ runs-on : ubuntu-latest
14
+
15
+ # define every php version to test
16
+ strategy :
17
+ # do not stop at first fail
18
+ fail-fast : false
19
+ matrix :
20
+ php : [7.4, 8.2]
21
+
22
+ steps :
23
+ - uses : actions/checkout@v3
24
+
25
+ - name : Validate dependencies php${{ matrix.php }}
26
+ uses : php-actions/composer@v6
27
+ with :
28
+ php_version : ${{ matrix.php }}
29
+ command : validate
30
+ args : --no-check-publish
Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ Thumbs.db
6
6
.buildpath
7
7
.vscode
8
8
ui
9
- composer.lock
10
9
11
10
test.php
12
11
core /config /common.config.php
Original file line number Diff line number Diff line change 4
4
"symfony/expression-language" : " 5 - 7" ,
5
5
"pragmarx/google2fa-qrcode" : " ^3" ,
6
6
"bacon/bacon-qr-code" : " 2 - 3" ,
7
- "influxdata/influxdb-php" : " ^3" ,
8
- "psr/log" : " ^1.1"
7
+ "influxdata/influxdb-client-php" : " ^3" ,
8
+ "psr/log" : " ^1.1" ,
9
+ "php" : " >=7.4"
9
10
},
10
11
"config" : {
11
12
"allow-plugins" : {
12
13
"php-http/discovery" : true
14
+ },
15
+ "platform" : {
16
+ "php" : " 7.4"
13
17
}
14
18
}
15
19
}
You can’t perform that action at this time.
0 commit comments