-
-
Notifications
You must be signed in to change notification settings - Fork 108
39 lines (32 loc) · 1.07 KB
/
bc-check.yml
File metadata and controls
39 lines (32 loc) · 1.07 KB
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
31
32
33
34
35
36
37
38
39
name: "Backward Compatibility Check"
on:
pull_request:
paths: &paths
- .github/workflows/bc-check.yml
- bin/tools/bc-check
- src/**
push:
paths: *paths
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
roave_bc_check:
name: "Roave BC Check"
runs-on: "ubuntu-22.04"
steps:
- uses: "actions/checkout@v5"
with:
fetch-depth: 0
- name: Install dependencies
uses: ramsey/composer-install@v2
with:
composer-options: --prefer-dist
- name: Install PHP with extensions.
uses: shivammathur/setup-php@v2
with:
php-version: "8.5"
- name: Install roave/backward-compatibility-check.
run: composer bin bc-check require roave/backward-compatibility-check
- name: Run roave/backward-compatibility-check.
run: bin/tools/bc-check/vendor/roave/backward-compatibility-check/bin/roave-backward-compatibility-check --install-development-dependencies --format=github-actions