Switch from Psalm to PHPStan level 6 #11
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: Benchmark | |
on: | |
push: | |
pull_request: | |
jobs: | |
tests: | |
name: Build | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
php: | |
- '8.1' | |
- '8.2' | |
- '8.3' | |
- '8.4' | |
steps: | |
- name: Set up PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php }} | |
extensions: bcmath, gmp, intl, dom, mbstring | |
ini-values: zend.assertions=1 | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Remove Psalm when on PHP 8.4 | |
if: ${{ matrix.php == '8.4' }} | |
run: composer remove --dev psalm/plugin-phpunit vimeo/psalm | |
- uses: "ramsey/composer-install@v3" | |
- name: Run phpbench | |
run: vendor/bin/phpbench run |