docker compose rename web service to web_php #65
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 analyse code | |
on: [push] | |
jobs: | |
phpstan-analyse: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Copy .env | |
run: php -r "file_exists('.env') || copy('.env.example', '.env');" | |
- name: Install Dependencies | |
run: composer install -q --no-ansi --no-interaction --no-scripts --no-suggest --no-progress --prefer-dist | |
- name: Generate key | |
run: php artisan key:generate | |
- name: Directory Permissions | |
run: chmod -R 777 storage bootstrap/cache | |
- name: Generate model helpers for laravel Facades | |
run: php artisan ide-helper:generate --no-interaction && php artisan ide-helper:model --no-interaction --write | |
- name: Run phpstan analyse code | |
run: vendor/bin/phpstan analyse --configuration=phpstan.neon --no-progress --memory-limit=1G |