Update tools #160
Workflow file for this run
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: CI | |
on: [push, pull_request] | |
jobs: | |
build-php: | |
name: PHP ${{ matrix.php-versions }} | |
runs-on: ubuntu-latest | |
strategy: | |
max-parallel: 6 | |
fail-fast: false | |
matrix: | |
php-versions: | |
- "8.1" | |
- "8.2" | |
- "8.3" | |
- "8.4" | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
- name: Setup PHP version and composer | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php-versions }} | |
tools: composer:v2 | |
- name: Environment Check | |
run: | | |
php --version | |
composer --version | |
- name: Install composer dependencies | |
run: composer update | |
- name: Info | |
run: composer info | |
- name: Lint | |
run: composer test:php:lint | |
- name: CGL | |
if: ${{ matrix.php-versions <= '8.3' }} | |
run: vendor/bin/php-cs-fixer fix --dry-run --verbose --show-progress=none | |
- name: Unit Tests | |
run: composer test:php:unit |