File tree Expand file tree Collapse file tree 2 files changed +34
-5
lines changed Expand file tree Collapse file tree 2 files changed +34
-5
lines changed Original file line number Diff line number Diff line change 3636
3737 - name : Run test suite
3838 run : composer run-script test
39+
40+ build_php_80 :
41+
42+ runs-on : ubuntu-latest
43+
44+ steps :
45+ - uses : actions/checkout@v2
46+
47+ - name : Setup PHP with PECL extension
48+ uses : shivammathur/setup-php@v2
49+ with :
50+ php-version : ' 8.0'
51+
52+ - name : Validate composer.json and composer.lock
53+ run : composer validate --strict
54+
55+ - name : Cache Composer packages
56+ id : composer-cache
57+ uses : actions/cache@v2
58+ with :
59+ path : vendor
60+ key : ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
61+ restore-keys : |
62+ ${{ runner.os }}-php-
63+
64+ - name : Install dependencies
65+ run : composer install --prefer-dist --no-progress
66+
67+ - name : Run test suite
68+ run : composer run-script test
Original file line number Diff line number Diff line change 1717 }
1818 ],
1919 "require" : {
20- "php" : " ^ 7.3" ,
21- "bitpay/sdk" : " ~4.0 "
20+ "php" : " >= 7.3 || ^8.0 " ,
21+ "bitpay/sdk" : " ~v5.2 "
2222 },
2323 "require-dev" : {
24- "phpunit/phpunit" : " >=7.0 "
24+ "phpunit/phpunit" : " >=9.5 "
2525 },
2626 "autoload" : {
2727 "psr-4" : {
4949 "LaravelBitpay" : " Vrajroham\\ LaravelBitpay\\ LaravelBitpayFacade"
5050 }
5151 }
52- },
53- "minimum-stability" : " dev"
52+ }
5453}
You can’t perform that action at this time.
0 commit comments