Skip to content

更新文档

更新文档 #4

Workflow file for this run

name: Coding Standards
on: [push, pull_request]
jobs:
tests:
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
swoole-docker: [5.1-php8.1]
env:
SWOOLE_DOCKER_VERSION: ${{ matrix.swoole-docker }}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Prepare
run: |
docker-compose -f ./.github/docker-compose.yml up -d swoole
docker exec swoole php -v
docker exec swoole composer -V
docker exec swoole composer update --no-interaction --prefer-dist --no-progress
- name: Coding Standards Tests
run: docker exec swoole ./vendor/bin/php-cs-fixer fix --dry-run --diff