File tree Expand file tree Collapse file tree 2 files changed +38
-2
lines changed
Expand file tree Collapse file tree 2 files changed +38
-2
lines changed Original file line number Diff line number Diff line change 1+ name : PHP Unitary
2+
3+ on :
4+ push :
5+ branches : [ "main" ]
6+ pull_request :
7+ branches : [ "main" ]
8+ workflow_dispatch :
9+
10+ permissions :
11+ contents : read
12+
13+ jobs :
14+ build :
15+
16+ runs-on : ubuntu-latest
17+
18+ steps :
19+ - uses : actions/checkout@v4
20+
21+ - name : Cache Composer packages
22+ id : composer-cache
23+ uses : actions/cache@v3
24+ with :
25+ path : vendor
26+ key : ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
27+ restore-keys : |
28+ ${{ runner.os }}-php-
29+
30+ - name : Install dependencies
31+ run : composer install --prefer-dist --no-progress
32+
33+ - name : Run test suite
34+ run : php vendor/bin/unitary
Original file line number Diff line number Diff line change 3737 },
3838 "extra" : {
3939 "branch-alias" : {
40- "dev-main" : " 2.x-dev"
40+ "dev-main" : " 2.x-dev" ,
41+ "dev-develop" : " 2.x-dev"
4142 }
4243 },
43- "minimum-stability" : " dev"
44+ "minimum-stability" : " dev" ,
45+ "prefer-stable" : true
4446}
You can’t perform that action at this time.
0 commit comments