Merge pull request #7 from wavesplatform/dev #28
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 ] | |
jobs: | |
phpstan: | |
name: PHPStan | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ ubuntu-latest ] | |
php-versions: [ '8.2' ] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 1 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php-versions }} | |
extensions: gmp, pdo_sqlite | |
- name: PHP version | |
run: php -v | |
- name: Composer install | |
run: composer install | |
- name: PHPStan analyse | |
run: php vendor/bin/phpstan analyse src tests --level 9 |