build: include php 8.4 in workflow (#765) #212
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 | |
env: | |
COMPOSER_FLAGS: "--ansi --no-interaction --no-progress --prefer-dist" | |
jobs: | |
tests: | |
name: "PHPStan" | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Checkout" | |
uses: "actions/checkout@v4" | |
- name: "Install PHP" | |
uses: "shivammathur/setup-php@v2" | |
with: | |
coverage: "none" | |
extensions: "intl, zip" | |
ini-values: "memory_limit=-1" | |
php-version: "7.2" | |
- name: "Update dependencies" | |
run: "composer update ${{ env.COMPOSER_FLAGS }}" | |
- name: Run PHPStan | |
run: | | |
composer phpstan |