generated from Setono/SyliusPluginSkeleton
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbackwards-compatibility-check.yaml
More file actions
30 lines (22 loc) · 933 Bytes
/
backwards-compatibility-check.yaml
File metadata and controls
30 lines (22 loc) · 933 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# See https://github.com/Roave/BackwardCompatibilityCheck
name: "Backwards Compatibility Check"
on:
pull_request: ~
jobs:
backwards-compatibility-check:
name: "Backwards Compatibility Check"
runs-on: "ubuntu-latest"
steps:
- name: "Checkout"
uses: "actions/checkout@v5"
with:
fetch-depth: 0
- name: "Setup PHP, with composer and extensions"
uses: "shivammathur/setup-php@v2"
with:
php-version: "8.1"
coverage: "none"
- name: "Install tool"
run: "composer global require roave/backward-compatibility-check"
- name: "Check for BC breaks"
run: "~/.composer/vendor/bin/roave-backward-compatibility-check --from=origin/${{ github.event.pull_request.base.ref }} --format=github-actions"