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 93ed848
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 deletions.
13 changes: 2 additions & 11 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,14 +78,5 @@ jobs:
with:
fetch-depth: 0

- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.1
extensions: grpc

- name: Install dependencies
run: composer install

- name: Check for BC breaks
run: vendor/bin/roave-backward-compatibility-check --format=github-actions
- name: "Check for BC breaks"
uses: docker://nyholm/roave-bc-check-ga
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 93ed848

Please sign in to comment.