Skip to content

upgrade php-cs-fixer to v3.35.1 #68

upgrade php-cs-fixer to v3.35.1

upgrade php-cs-fixer to v3.35.1 #68

Workflow file for this run

name: tests
on:
push:
pull_request:
jobs:
linux_tests:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[skip ci]') && !contains(github.event.head_commit.message, '[ci skip]')"
strategy:
fail-fast: true
matrix:
include:
- php: "8.1"
swoole: "5.0.3"
- php: "8.2"
swoole: "5.0.3"
- php: "8.1"
swoole: "5.1.0"
- php: "8.2"
swoole: "5.1.0"
name: PHP ${{ matrix.php }} (swoole-${{ matrix.swoole }})
container:
image: phpswoole/swoole:${{ matrix.swoole }}-php${{ matrix.php }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install dependencies
run: |
COMPOSER_MEMORY_LIMIT=-1 composer install --prefer-dist -n -o
- name: Execute tests
run: |
vendor/bin/php-cs-fixer fix --dry-run --diff
vendor/bin/phpunit -c phpunit.xml.dist.xml