Fix http exception #25
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: CI Check | |
on: | |
pull_request: | |
jobs: | |
symfony: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup PHP | |
uses: shivammathur/[email protected] | |
with: | |
php-version: '8.2' | |
extensions: intl, json | |
tools: composer | |
- name: Cache composer dependencies | |
uses: actions/cache@v3 | |
with: | |
path: /tmp/composer-cache | |
key: ${{ runner.os }}-${{ hashFiles('**/composer.lock') }} | |
- uses: php-actions/composer@v6 | |
with: | |
php_version: '8.2' | |
php_extensions: intl json | |
args: --prefer-dist --optimize-autoloader | |
- name: Run PhpCs | |
run: vendor/bin/phpcs | |
- name: Run PhpStan | |
run: vendor/bin/phpstan analyze --no-progress --no-interaction --error-format=github | |
- name: Run PhpMd | |
run: vendor/bin/phpmd src text phpmd.xml | |
- name: Run PhpMd Tests (phpmd-tests.xml) | |
run: vendor/bin/phpmd tests text phpmd-tests.xml | |
- name: Run Rector | |
run: vendor/bin/rector --dry-run --no-progress-bar | |
- uses: php-actions/phpunit@v4 | |
with: | |
bootstrap: tests/bootstrap.php | |
configuration: phpunit.xml.dist | |
php_extensions: intl json |