🚨 Apply PHP CS Fixer fixes (#1219) #282
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: Component | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
php-version: ['8.0', '8.1', '8.2', '8.3'] | |
component: [Common, Http, Plugin] | |
name: PHP ${{ matrix.php-version }} / ${{ matrix.component }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use PHP ${{ matrix.php-version }} | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php-version }} | |
extensions: curl | |
- name: Validate composer.json and composer.lock | |
working-directory: ./src/${{ matrix.component }} | |
run: composer validate | |
- name: Install dependencies | |
working-directory: ./src/${{ matrix.component }} | |
run: composer install --no-progress | |
- name: Run test suite | |
working-directory: ./src/${{ matrix.component }} | |
run: composer run-script test |