From 71a41a282355b916a425bce7d96d007ddef55afb Mon Sep 17 00:00:00 2001 From: Ben Croker Date: Sun, 5 Jan 2025 20:24:25 -0600 Subject: [PATCH] Add test to CI --- .github/workflows/code-analysis.yaml | 4 +++- src/DatastarServiceProvider.php | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/code-analysis.yaml b/.github/workflows/code-analysis.yaml index d4bf3fa..0ddf6dd 100644 --- a/.github/workflows/code-analysis.yaml +++ b/.github/workflows/code-analysis.yaml @@ -17,7 +17,9 @@ jobs: - name: 'PHPStan' run: composer phpstan - name: 'Coding Standards' - run: composer fix-cs + run: composer check-cs + - name: 'Pest Tests' + run: composer test name: ${{ matrix.actions.name }} runs-on: ubuntu-latest steps: diff --git a/src/DatastarServiceProvider.php b/src/DatastarServiceProvider.php index 8fe2884..3f9ccf7 100644 --- a/src/DatastarServiceProvider.php +++ b/src/DatastarServiceProvider.php @@ -40,7 +40,7 @@ public function boot(): void private function registerRoutes(): void { - Route::middleware(['web'])->group(function () { + Route::middleware(['web'])->group(function() { Route::any( '/datastar-controller', [DatastarController::class, 'index'],