Skip to content

Commit

Permalink
Use roave/backward-compatibility via Docker
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromegamez committed Nov 25, 2023
1 parent c9f7ef5 commit a57e454
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,11 @@ jobs:
- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.1
php-version: 8.2
extensions: grpc

- name: Install dependencies
run: composer install
- name: Install roave/backward-compatibility-check.
run: composer require --dev roave/backward-compatibility-check

- name: Check for BC breaks
run: vendor/bin/roave-backward-compatibility-check --format=github-actions
3 changes: 1 addition & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@
"phpstan/phpstan-phpunit": "^1.3.14",
"phpunit/phpunit": "^10.4.1",
"rector/rector": "~0.17.13",
"roave/backward-compatibility-check": "^8.3",
"symfony/var-dumper": "^6.3.5"
},
"suggest": {
Expand Down Expand Up @@ -103,7 +102,7 @@
"vendor/bin/phpunit --stop-on-error --stop-on-failure"
],
"test-bc": [
"vendor/bin/roave-backward-compatibility-check"
"docker run -it --rm -v `pwd`:/app nyholm/roave-bc-check"
],
"test-coverage": [
"Composer\\Config::disableProcessTimeout",
Expand Down

0 comments on commit a57e454

Please sign in to comment.