File tree Expand file tree Collapse file tree 7 files changed +4848
-3
lines changed
Expand file tree Collapse file tree 7 files changed +4848
-3
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+ jobs :
10+ build :
11+
12+ runs-on : ubuntu-latest
13+
14+ steps :
15+ - uses : actions/checkout@v2
16+
17+ - name : Validate composer.json and composer.lock
18+ run : composer validate
19+
20+ - name : Install dependencies
21+ run : composer install --prefer-dist --no-progress
22+
23+ - name : Run test suite
24+ run : composer test
25+
26+ - name : Run php-cs-fixer
27+ run : composer csfix .
Original file line number Diff line number Diff line change 1111 }
1212 },
1313 "require" : {
14- "minicli/minicli" : " ^3.0"
14+ "minicli/minicli" : " ^3.2"
15+ },
16+ "require-dev" : {
17+ "pestphp/pest" : " ^2.4" ,
18+ "friendsofphp/php-cs-fixer" : " ^3.16"
19+ },
20+ "scripts" : {
21+ "test" : [" pest" ],
22+ "csfix" : [" php-cs-fixer fix" ]
23+ },
24+
25+ "config" : {
26+ "allow-plugins" : {
27+ "pestphp/pest-plugin" : true
28+ }
1529 }
1630}
You can’t perform that action at this time.
0 commit comments