v5.0 #98
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: Static Code Analysis | |
on: [push, pull_request] | |
jobs: | |
tests: | |
runs-on: ubuntu-20.04 | |
strategy: | |
fail-fast: false | |
matrix: | |
swoole: [5.0-php8.2] | |
env: | |
SWOOLE_DOCKER_VERSION: ${{ matrix.swoole }} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Prepare | |
run: | | |
./.github/prepare-test.sh swoole | |
docker exec swoole composer require phpstan/phpstan:~1.10.0 --dev | |
- name: Test | |
run: docker exec swoole ./vendor/bin/phpstan analyse --memory-limit 1G |