Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
152 changes: 76 additions & 76 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,81 +1,81 @@
name: Tests

on:
push:
branches:
- 2.x
- 3.x
paths-ignore:
- '.github/**'
- 'README.md'
pull_request:
branches:
- 2.x
- 3.x
workflow_dispatch:
push:
branches:
- 2.x
- 3.x
paths-ignore:
- '.github/**'
- 'README.md'
pull_request:
branches:
- 2.x
- 3.x
workflow_dispatch:

jobs:
build:
runs-on: ${{ matrix.os }}

strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
php: [8.2,8.3]
laravel: ['12.*', '13.*']

name: OS:${{ matrix.os }} / PHP:${{ matrix.php }} / Laravel:${{ matrix.laravel }}

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 22.x

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick
tools: composer:v2
coverage: none

- name: Install Composer
run: |
composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-progress --ansi --no-update
composer update --no-interaction --no-progress --ansi

- name: Install Node Dependencies
run: |
rm -rf node_modules
rm -f package-lock.json
npm install
npm run build

- name: Copy .env
run: php -r "file_exists('.env') || copy('.env.example', '.env');"

- name: Creating Database
run: php -r "file_exists('database/database.sqlite') || touch('database/database.sqlite');"

- name: Preparing Laravel
run: php artisan key:generate --force && php artisan optimize:clear

- name: Check Route Integrity
run: php artisan route:list

- name: Run Migrations
run: php artisan migrate:fresh --step --force --no-interaction --seed

- name: Pint
run: ./vendor/bin/pint --test

- name: PhpStan
run: ./vendor/bin/phpstan --configuration="phpstan.neon"

- name: Feature Tests
run: ./vendor/bin/pest --ci --parallel
build:
runs-on: ${{ matrix.os }}

strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
php: [8.2, 8.3]
laravel: ['12.*', '13.*']

name: OS:${{ matrix.os }} / PHP:${{ matrix.php }} / Laravel:${{ matrix.laravel }}

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 22.x

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick
tools: composer:v2
coverage: none

- name: Install Composer
run: |
composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-progress --ansi --no-update
composer update --no-interaction --no-progress --ansi

- name: Install Node Dependencies
run: |
rm -rf node_modules
rm -f package-lock.json
npm install
npm run build

- name: Copy .env
run: php -r "file_exists('.env') || copy('.env.example', '.env');"

- name: Creating Database
run: php -r "file_exists('database/database.sqlite') || touch('database/database.sqlite');"

- name: Preparing Laravel
run: php artisan key:generate --force && php artisan optimize:clear

- name: Check Route Integrity
run: php artisan route:list

- name: Run Migrations
run: php artisan migrate:fresh --step --force --no-interaction --seed

- name: Pint
run: ./vendor/bin/pint --test

- name: PhpStan
run: ./vendor/bin/phpstan --configuration="phpstan.neon"

- name: Feature Tests
run: ./vendor/bin/pest --ci --parallel
5 changes: 5 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
node_modules
vendor
storage
bootstrap/cache
public/build
16 changes: 16 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"singleQuote": true,
"semi": true,
"tabWidth": 4,
"printWidth": 120,
"trailingComma": "all",
"plugins": ["prettier-plugin-blade", "prettier-plugin-tailwindcss"],
"overrides": [
{
"files": ["*.blade.php"],
"options": {
"parser": "blade"
}
}
]
}
37 changes: 0 additions & 37 deletions app/Http/Controllers/Auth/AuthenticatedSessionController.php

This file was deleted.

41 changes: 0 additions & 41 deletions app/Http/Controllers/Auth/RegisteredUserController.php

This file was deleted.

65 changes: 0 additions & 65 deletions app/Http/Requests/Auth/LoginRequest.php

This file was deleted.

44 changes: 0 additions & 44 deletions app/Livewire/Traits/Alert.php

This file was deleted.

Loading