Bump friendsofphp/php-cs-fixer from 3.34.0 to 3.34.1 #344
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: build | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ${{ matrix.operating-system }} | |
strategy: | |
matrix: | |
operating-system: [ubuntu-latest] | |
php-versions: ['7.4', '8.0', '8.1', '8.2'] | |
name: PHP ${{ matrix.php-versions }} Test on ${{ matrix.operating-system }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@master | |
- name: Install PHP | |
uses: shivammathur/setup-php@master | |
with: | |
php-version: ${{ matrix.php-versions }} | |
extensions: dom | |
coverage: xdebug | |
- name: Install dependencies | |
run: composer install --prefer-dist --no-interaction --ignore-platform-reqs | |
- name: PHP Code Sniffer | |
if: matrix.php-versions == '8.1' | |
run: composer phpcs | |
- name: PHP Mess Detector | |
if: matrix.php-versions == '8.1' | |
run: composer phpmd | |
- name: PHP Unit Tests with coverage | |
if: matrix.php-versions == '8.1' | |
run: vendor/bin/phpunit --coverage-clover build/logs/clover.xml | |
- name: PHP Unit Tests | |
if: matrix.php-versions != '8.1' | |
run: composer test | |
- name: Send to coveralls | |
if: matrix.php-versions == '8.1' | |
run: vendor/bin/php-coveralls --coverage_clover=build/logs/clover.xml | |
env: | |
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }} |