diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 02c32e1..4a883bf 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -30,6 +30,8 @@ jobs: stack-version: 7.4.1 - uses: actions/checkout@v2 + with: + fetch-depth: 0 # This is needed for Roave BC check - name: Setup PHP uses: shivammathur/setup-php@v2 @@ -58,11 +60,8 @@ jobs: - name: PHPUnit tests run: vendor/bin/phpunit tests - roave_bc_check: - name: Roave BC Check - runs-on: ubuntu-latest + - name: Install roave/backward-compatibility-check. + run: composer require -W --dev roave/backward-compatibility-check --no-plugins - steps: - - uses: actions/checkout@v2 - - name: Roave BC Check - uses: docker://nyholm/roave-bc-check-ga + - name: Run roave/backward-compatibility-check. + run: vendor/bin/roave-backward-compatibility-check --format=github-actions