File tree Expand file tree Collapse file tree 2 files changed +50
-1
lines changed Expand file tree Collapse file tree 2 files changed +50
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : PHP Composer
2
+
3
+ on :
4
+ push :
5
+ branches : [ "main" ]
6
+ pull_request :
7
+ branches : [ "main" ]
8
+
9
+ permissions :
10
+ contents : read
11
+
12
+ jobs :
13
+ build :
14
+
15
+ runs-on : ubuntu-latest
16
+
17
+ steps :
18
+ - uses : actions/checkout@v3
19
+
20
+ - name : Validate composer.json and composer.lock
21
+ run : composer validate
22
+
23
+ - name : Cache Composer packages
24
+ id : composer-cache
25
+ uses : actions/cache@v3
26
+ with :
27
+ path : vendor
28
+ key : ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
29
+ restore-keys : |
30
+ ${{ runner.os }}-php-
31
+
32
+ - name : Install dependencies
33
+ run : composer install --prefer-dist --no-progress
34
+
35
+ - name : PHP 7.4 compatibility
36
+ run : composer sniffer:php7.4
37
+
38
+ - name : PHP 8.0 compatibility
39
+ run : composer sniffer:php8.0
40
+
41
+ - name : PHP 8.1 compatibility
42
+ run : composer sniffer:php8.1
43
+
44
+ # Add a test script to composer.json, for instance: "test": "vendor/bin/phpunit"
45
+ # Docs: https://getcomposer.org/doc/articles/scripts.md
46
+
47
+ # - name: Run test suite
48
+ # run: composer run-script test
Original file line number Diff line number Diff line change 2
2
"name" : " run_as_root/magento-cli-auto-proxy" ,
3
3
"description" : " Makes all Magento CLI commands construct dependencies be injected as Proxy." ,
4
4
"type" : " magento2-component" ,
5
+ "license" : " MIT" ,
5
6
"require" : {
6
7
"php" : " ^7.4 | ^8" ,
7
- "magento/framework" : " * "
8
+ "magento/framework" : " >=102.0.7 "
8
9
},
9
10
"require-dev" : {
10
11
"roave/security-advisories" : " dev-latest" ,
You can’t perform that action at this time.
0 commit comments