Skip to content

0.0.4 (#10)

0.0.4 (#10) #43

Workflow file for this run

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.1]
steps:
- uses: actions/checkout@v2
- name: Install PHP
uses: shivammathur/setup-php@v2
- name: Testing PHP version
run: php -v

Check failure on line 29 in .github/workflows/static.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/static.yml

Invalid workflow file

You have an error in your yaml syntax on line 29
- 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