diff --git a/.github/workflows/backwards-compatibility.yml b/.github/workflows/backwards-compatibility.yml new file mode 100644 index 0000000000..1c98c071d3 --- /dev/null +++ b/.github/workflows/backwards-compatibility.yml @@ -0,0 +1,21 @@ +name: "Backwards compatibility" + +on: + pull_request: + +jobs: + bc-check: + name: "Backwards compatibility check" + + runs-on: "ubuntu-latest" + + steps: + - name: "Checkout" + uses: "actions/checkout@v2.4.0" + with: + fetch-depth: 0 + + - name: "BC Check" + uses: docker://nyholm/roave-bc-check-ga + with: + args: --from=${{ github.event.pull_request.base.sha }} diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 7aa169d3bf..054b1cd9df 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -102,14 +102,6 @@ jobs: - run: vendor/bin/psalm --no-progress --stats --threads=$(nproc) --output-format=github --shepherd - bc_check: - name: Backward Compatibility - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - name: Roave BC Check - uses: docker://nyholm/roave-bc-check-ga - docs-lint: name: Markdownlint runs-on: ubuntu-latest