Skip to content

Bump actions/checkout from 6.0.1 to 6.0.2 (#2019) #1095

Bump actions/checkout from 6.0.1 to 6.0.2 (#2019)

Bump actions/checkout from 6.0.1 to 6.0.2 (#2019) #1095

Workflow file for this run

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@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 # 2.36.0
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@3cf229dc2919194e9e36783941438d17239e8520 # 3.1.1
with:
dependency-versions: highest
- name: Run PHPStan
run: composer phpstan