Update CHANGELOG #403
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
# .github/workflows/analysis.yml | |
name: "Static analysis" | |
on: [ push ] | |
jobs: | |
build: | |
name: "PHPStan" | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: "Checkout" | |
uses: actions/checkout@v3 | |
- name: "Build environment" | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: "7.1" | |
coverage: "xdebug" | |
- name: "Dependencies" | |
run: | | |
php --version | |
composer --version | |
COMPOSER_MEMORY_LIMIT=-1 composer update | |
- name: "Application" | |
run: | | |
mkdir -p build/logs | |
wget -c -nc --retry-connrefused --tries=0 https://github.com/phpstan/phpstan/releases/download/1.4.10/phpstan.phar -O phpstan.phar | |
chmod +x phpstan.phar | |
php phpstan.phar --version | |
- name: "Analyses" | |
run: php phpstan.phar analyse src/ --error-format=github |