Skip to content

Merge pull request #3 from flashteamdev/dependabot/github_actions/shi… #6

Merge pull request #3 from flashteamdev/dependabot/github_actions/shi…

Merge pull request #3 from flashteamdev/dependabot/github_actions/shi… #6

Workflow file for this run

name: PHPStan Check
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
laravel-tests:
runs-on: ubuntu-latest
steps:
- uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231
with:
php-version: "8.2"
- uses: actions/checkout@v4
- 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-progress --prefer-dist
- name: Generate key
run: php artisan key:generate
- name: phpstan analyse
run: ./vendor/bin/phpstan analyse