fix: wip #45
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: Static analysis | ||
on: | ||
push: | ||
paths-ignore: | ||
- 'frontend/**' | ||
pull_request: | ||
types: [opened] | ||
paths-ignore: | ||
- 'frontend/**' | ||
jobs: | ||
larastan: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
php: [8.2] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Install PHP | ||
uses: shivammathur/setup-php@v2 | ||
- name: Testing PHP version | ||
run: php -v | ||
- name: Install Dependencies | ||
run: | | ||
composer clear-cache | ||
# composer config "http-basic.nova.laravel.com" "${{ secrets.NOVA_USERNAME }}" "${{ secrets.NOVA_PASSWORD }}" | ||
composer install --no-ansi --no-interaction --no-scripts --prefer-dist | ||
- name: Prepare Laravel Application | ||
run: | | ||
cp .env.example .env | ||
php artisan key:generate | ||
- name: Execute phpstan | ||
run: composer larastan | ||
- name: Execute phpinsights | ||
run: composer phpinsights |