File tree Expand file tree Collapse file tree 2 files changed +34
-4
lines changed
Expand file tree Collapse file tree 2 files changed +34
-4
lines changed Original file line number Diff line number Diff line change 1+ name : BC check
2+
3+ on :
4+ pull_request :
5+ workflow_dispatch :
6+
7+ jobs :
8+ bc-check :
9+ runs-on : ubuntu-latest
10+ steps :
11+ - uses : actions/checkout@v4
12+ with :
13+ fetch-depth : ' 0'
14+ fetch-tags : ' 1'
15+
16+ - name : Setup PHP
17+ uses : shivammathur/setup-php@v2
18+ with :
19+ php-version : ' 8.2'
20+ coverage : none
21+
22+ - name : Install dependencies
23+ run : composer install
24+
25+ - name : Install dependencies
26+ run : composer require --dev roave/backward-compatibility-check:^8.13
27+
28+ - name : Run bc-check
29+ run : composer bc-check -- --format=github-actions --from="origin/${{ github.base_ref }}"
Original file line number Diff line number Diff line change 3232 "strobotti/php-jwk" : " ^1.4"
3333 },
3434 "require-dev" : {
35+ "async-aws/dynamo-db" : " ~3.2" ,
3536 "friendsofphp/php-cs-fixer" : " ^3.16" ,
3637 "infection/infection" : " ^0.29" ,
3738 "nyholm/psr7" : " ^1.7.0" ,
3839 "nyholm/psr7-server" : " ^1.0" ,
3940 "php-http/curl-client" : " ^2.2" ,
4041 "phpstan/phpstan" : " ^1.10.14" ,
4142 "phpunit/phpunit" : " ^10.5" ,
42- "async-aws/dynamo-db" : " ~3.2" ,
43- "symfony/polyfill-uuid" : " ^1.31" ,
44- "symfony/http-client" : " >=6.4.16"
43+ "symfony/http-client" : " >=6.4.16" ,
44+ "symfony/polyfill-uuid" : " ^1.31"
4545 },
4646 "suggest" : {
4747 "async-aws/dynamo-db" : " For using the DynamoDBRepository"
6969 " phpunit" ,
7070 " php-cs-fixer fix" ,
7171 " phpstan analyse"
72- ]
72+ ],
73+ "bc-check" : " vendor/bin/roave-backward-compatibility-check"
7374 }
7475}
You can’t perform that action at this time.
0 commit comments