Skip to content

Commit

Permalink
Add BC checker (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
RikudouSage authored Oct 19, 2021
1 parent 8645ad3 commit 0cc086c
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/bc_check.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: BC Check
on:
push:
branches:
- master
pull_request:
workflow_dispatch:
jobs:
bc_check:
name: Backwards Compatibility Check
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 7.4
- name: Install Checker
run: composer require --dev roave/backward-compatibility-check
- name: Check for BC breaks
run: vendor/bin/roave-backward-compatibility-check

0 comments on commit 0cc086c

Please sign in to comment.