Skip to content

Commit b949c34

Browse files
committed
test pint
1 parent 3884a84 commit b949c34

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/workflows/laravel.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Run ESLint
2525
run: npm run lint
2626

27-
laravel-tests:
27+
laravel:
2828
runs-on: ubuntu-latest
2929

3030
steps:
@@ -40,6 +40,9 @@ jobs:
4040

4141
- name: Install PHP Dependencies
4242
run: composer install --prefer-dist --no-progress --no-interaction
43+
44+
- name: Run Pint
45+
run: vendor/bin/pint
4346

4447
- name: Setup Node.js
4548
uses: actions/setup-node@v3
@@ -79,6 +82,3 @@ jobs:
7982
DB_CONNECTION: sqlite
8083
DB_DATABASE: database/database.sqlite
8184
run: php artisan test
82-
83-
- name: Run Pint
84-
run: vendor/bin/pint

app/Http/Controllers/ProfileController.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
namespace App\Http\Controllers;
44

55
use App\Http\Requests\ProfileUpdateRequest;
6+
use App\Models\User;
67
use Illuminate\Contracts\Auth\MustVerifyEmail;
78
use Illuminate\Http\RedirectResponse;
89
use Illuminate\Http\Request;

0 commit comments

Comments
 (0)