Skip to content

Commit

Permalink
Fix roave BC check
Browse files Browse the repository at this point in the history
  • Loading branch information
mmenozzi committed Sep 13, 2023
1 parent d08c77c commit 91cbe08
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ jobs:

steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0 # This is needed for Roave BC check

- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand Down Expand Up @@ -53,12 +55,8 @@ jobs:
- name: PHPUnit tests
run: vendor/bin/phpunit tests

roave_bc_check:
name: Roave BC Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Roave BC Check
uses: docker://nyholm/roave-bc-check-ga:latest
- name: Install roave/backward-compatibility-check.
run: composer require --dev roave/backward-compatibility-check

- name: Run roave/backward-compatibility-check.
run: vendor/bin/roave-backward-compatibility-check --format=github-actions

0 comments on commit 91cbe08

Please sign in to comment.