Skip to content
This repository was archived by the owner on Mar 12, 2024. It is now read-only.

Commit f405f65

Browse files
committed
add bc-check actions workflow
1 parent 734412d commit f405f65

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/bc-check.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: bc-check
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
11+
jobs:
12+
backwards-compatibility-check:
13+
name: Backwards Compatibility Check
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v2
17+
with:
18+
fetch-depth: 0
19+
- name: "Install PHP"
20+
uses: shivammathur/setup-php@v2
21+
with:
22+
php-version: "8.0"
23+
- name: "Install dependencies"
24+
run: "composer install"
25+
- name: "Check for BC breaks"
26+
run: "vendor/bin/roave-backward-compatibility-check --format=github-actions"

0 commit comments

Comments
 (0)