🐛 Add symfony/http-client to dev depedencies #3
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: provider | |
on: | |
pull_request: | |
branches: [ main ] | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: true | |
matrix: | |
php-version: ['8.2', '8.3'] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: php-setup | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php-version }} | |
coverage: xdebug | |
extensions: curl xdebug | |
- name: composer-validate | |
run: composer validate | |
- name: composer-cache | |
id: composer-cache | |
uses: actions/cache@v3 | |
with: | |
path: vendor | |
key: ${{ runner.os }}-${{ matrix.php-version }}-composer-${{ hashFiles('**/composer.lock') }} | |
restore-keys: | | |
${{ runner.os }}-${{ matrix.php-version }}-composer- | |
- name: composer-install | |
if: steps.composer-cache.outputs.cache-hit != 'true' | |
run: composer install --prefer-dist --no-progress --no-interaction | |
- name: php-cs-fixer | |
run: composer cs | |
- name: phpstan | |
run: composer analyse | |
- name: phpunit | |
run: composer run-script test |