Repository navigation
Build the encode and decode readers the same way #351
Workflow file for this run
This file contains hidden or 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: CodeStyle | |
| on: [push, pull_request] | |
| jobs: | |
| run: | |
| runs-on: ${{ matrix.operating-system }} | |
| strategy: | |
| matrix: | |
| operating-system: [ubuntu-latest] | |
| php-versions: [ '8.4', '8.5' ] | |
| composer-options: [ '--ignore-platform-req=php+' ] | |
| fail-fast: false | |
| name: PHP ${{ matrix.php-versions }} @ ${{ matrix.operating-system }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@master | |
| - name: Install PHP | |
| uses: shivammathur/setup-php@master | |
| with: | |
| php-version: ${{ matrix.php-versions }} | |
| tools: 'composer:v2' | |
| extensions: pcov, mbstring, posix, dom, soap | |
| - name: Install dependencies | |
| run: composer update --prefer-dist --no-progress --no-suggest ${{ matrix.composer-options }} | |
| - name: Run the tests | |
| run: PHP_CS_FIXER_IGNORE_ENV=1 ./vendor/bin/php-cs-fixer fix --dry-run --diff |