Skip to content

Bump shivammathur/setup-php from 2.37.1 to 2.37.2 #159

Bump shivammathur/setup-php from 2.37.1 to 2.37.2

Bump shivammathur/setup-php from 2.37.1 to 2.37.2 #159

Workflow file for this run

name: "PHPStan"
on:
- push
- pull_request
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
tests:
name: "PHPStan"
runs-on: ubuntu-latest
strategy:
matrix:
include:
- php-version: "7.4"
phpunit-version-constraint: "^8.5"
- php-version: "8.3"
phpunit-version-constraint: "^9.6"
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false
- uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # 2.37.2
with:
php-version: "${{ matrix.php-version }}"
coverage: none
- uses: ramsey/composer-install@65e4f84970763564f46a70b8a54b90d033b3bdda # 4.0.0
with:
dependency-versions: highest
- name: Run PHPStan
env:
PHPUNIT_VERSION_CONSTRAINT: ${{ matrix.phpunit-version-constraint }}
run: |
composer require --dev phpunit/phpunit:"$PHPUNIT_VERSION_CONSTRAINT" --with-all-dependencies -n
vendor/bin/phpstan analyse