Update JsonReader to use less memory #127
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: "Continuous Integration" | |
on: | |
push: | |
branches: | |
- 4.x | |
pull_request: | |
branches: | |
- 4.x | |
jobs: | |
tests: | |
name: "CI ${{ matrix.operating-system }} / PHP ${{ matrix.php-version }}" | |
runs-on: ${{ matrix.operating-system }} | |
strategy: | |
matrix: | |
operating-system: ['ubuntu-latest', 'macos-latest'] | |
php-version: ['8.1', '8.2'] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 2 | |
- name: Install PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: "${{ matrix.php-version }}" | |
- name: Install dependencies | |
uses: ramsey/composer-install@v2 | |
with: | |
dependency-versions: ${{ matrix.dependencies }} | |
- name: Test PHP-CS-Fixer | |
run: PHP_CS_FIXER_IGNORE_ENV=1 php vendor/bin/php-cs-fixer fix --dry-run --diff --no-ansi | |
- name: Test PHPStan | |
run: php vendor/bin/phpstan analyse | |
- name: Test Rector | |
run: php vendor/bin/rector process --ansi | |
- name: Test PHPUnit | |
run: php vendor/bin/phpunit |