Add an accept header in JSON request to help 3rd party services like … #296
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: BC Check | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
roave-bc-check: | |
name: Roave BC Check | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Install PHP with extensions | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: 8.3 | |
tools: composer:v2 | |
- name: Install roave/backward-compatibility-check | |
run: composer require --dev roave/backward-compatibility-check | |
- name: Roave BC Check | |
run: vendor/bin/roave-backward-compatibility-check |