Bump phpconsole #874
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: "PHPStan" | |
on: | |
- push | |
- pull_request | |
permissions: | |
contents: read | |
env: | |
COMPOSER_ROOT_VERSION: dev-main | |
jobs: | |
tests: | |
name: "PHPStan" | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
php-version: | |
- "8.1" | |
- latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: shivammathur/setup-php@v2 | |
with: | |
php-version: "${{ matrix.php-version }}" | |
coverage: none | |
extensions: mongodb, redis, amqp | |
- name: Add require for mongodb/mongodb to make tests runnable | |
run: "composer require ${{ env.COMPOSER_FLAGS }} mongodb/mongodb --dev --no-update" | |
- uses: ramsey/composer-install@v3 | |
with: | |
dependency-versions: highest | |
- name: Run PHPStan | |
run: composer phpstan |