Skip to content

Commit

Permalink
ci: upgrade php version to launch roave/backward-compatibility-check
Browse files Browse the repository at this point in the history
  • Loading branch information
PedroTroller committed Feb 26, 2024
1 parent 30fd641 commit aff77c3
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/bc-break.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
---
name: Roave

on: workflow_call
on:
workflow_call:
inputs:
LAST_VERSION:
type: string
required: true

jobs:
roave_bc_check:
Expand All @@ -11,6 +16,10 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ inputs.LAST_VERSION }}
- name: Composer install
run: composer require --dev roave/backward-compatibility-check
- name: Roave BC Check
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ concurrency:
jobs:
bc-break:
uses: ./.github/workflows/bc-break.yaml
with:
LAST_VERSION: '8.2'

test:
uses: ./.github/workflows/test.yaml
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ concurrency:
jobs:
bc-break:
uses: ./.github/workflows/bc-break.yaml
with:
LAST_VERSION: '8.2'

test:
uses: ./.github/workflows/test.yaml
Expand Down

0 comments on commit aff77c3

Please sign in to comment.