File tree Expand file tree Collapse file tree 2 files changed +48
-1
lines changed Expand file tree Collapse file tree 2 files changed +48
-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
+ - run : pwd
19
+ - uses : actions/checkout@v3
20
+
21
+ - name : Validate composer.json and composer.lock
22
+ run : composer validate --strict
23
+
24
+ - name : Cache Composer packages
25
+ id : composer-cache
26
+ uses : actions/cache@v3
27
+ with :
28
+ path : vendor
29
+ key : ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
30
+ restore-keys : |
31
+ ${{ runner.os }}-php-
32
+
33
+ - name : Install dependencies
34
+ run : composer install --no-dev --prefer-dist --no-progress
35
+
36
+ # Add a test script to composer.json, for instance: "test": "vendor/bin/phpunit"
37
+ # Docs: https://getcomposer.org/doc/articles/scripts.md
38
+
39
+ # - name: Run test suite
40
+ # run: composer run-script test
41
+ - uses : actions/upload-artifact@v3
42
+ with :
43
+ name : AuthManagerOAuth
44
+ retention-days : 3
45
+ path : /home/runner/work/AuthManagerOAuth/
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " mohe2015/authmanageroauth" ,
3
+ "description" : " Create accounts or login using OAuth" ,
4
+ "license" : " GPL-2.0-or-later" ,
3
5
"config" : {
4
6
"autoloader-suffix" : " authmanageroauth"
5
7
},
23
25
},
24
26
"require" : {
25
27
"league/oauth2-client" : " ^2.6" ,
26
- "psr/container" : " 1.0.0"
28
+ "psr/container" : " ^ 1.0.0"
27
29
}
28
30
}
You can’t perform that action at this time.
0 commit comments