Skip to content

Update to Laravel 11 #6

Update to Laravel 11

Update to Laravel 11 #6

Workflow file for this run

on:
pull_request:
push:
branches:
- master
env:
PHP_EXTENSIONS: mbstring, mysqli, pdo_mysql
PHP_VERSION: 8.3
jobs:
static-code-analysis:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: shivammathur/setup-php@v2
with:
coverage: none
extensions: ${{ env.PHP_EXTENSIONS }}
php-version: ${{ env.PHP_VERSION }}
- uses: ramsey/composer-install@v3
- run: vendor/bin/phpstan
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: shivammathur/setup-php@v2
with:
coverage: none
extensions: ${{ env.PHP_EXTENSIONS }}
php-version: ${{ env.PHP_VERSION }}
- uses: ramsey/composer-install@v3
- run: touch database/database.sqlite
- run: php artisan migrate
- run: vendor/bin/phpunit