Skip to content

Merge remote-tracking branch 'origin/async' into async #10

Merge remote-tracking branch 'origin/async' into async

Merge remote-tracking branch 'origin/async' into async #10

Workflow file for this run

name: CI
on:
push:
pull_request:
workflow_dispatch:
jobs:
build:
name: PHPStan analysis
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php:
- "8.0.19"
steps:
- uses: actions/checkout@v2
- name: Setup PHP
uses: pmmp/setup-php-action@247e08acd52c1465f8f144c162c88f079d8c1174
with:
php-version: ${{ matrix.php }}
install-path: "./bin"
- name: Restore Composer package cache
id: composer-cache
uses: actions/cache@v2
with:
path: "~/.cache/composer"
key: "php-${{ matrix.php }}-composer-${{ hashFiles('**/composer.json') }}"
restore-keys: "php-${{ matrix.php }}-composer-"
- name: Install PHPStan Composer dependencies
run: composer install --prefer-dist --no-interaction
- name: Run PHPStan
run: vendor/bin/phpstan analyze --memory-limit=2G