From 180947df45bdd10fb83390064f1a7e89ee777ed1 Mon Sep 17 00:00:00 2001 From: Nick Evans Date: Tue, 19 Mar 2024 08:33:35 -0500 Subject: [PATCH] More 1.0 prep (#448) --- .github/workflows/deploy-docs.yml | 2 +- .github/workflows/phpunit.yml | 4 ++-- stubs/routes.stub | 14 +++++++------- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index f5eef4e..1a45043 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -25,7 +25,7 @@ jobs: yarn install yarn docs:build - name: Deploy 🚀 - uses: JamesIves/github-pages-deploy-action@v4.4.3 + uses: JamesIves/github-pages-deploy-action@v4 with: branch: gh-pages folder: .build diff --git a/.github/workflows/phpunit.yml b/.github/workflows/phpunit.yml index dc912f8..7d432c4 100644 --- a/.github/workflows/phpunit.yml +++ b/.github/workflows/phpunit.yml @@ -22,7 +22,7 @@ jobs: - name: Setup PHP - uses: shivammathur/setup-php@2.25.5 + uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php-versions }} coverage: xdebug @@ -30,7 +30,7 @@ jobs: - name: Run php-cs-fixer uses: OskarStark/php-cs-fixer-ga@3.13.0 - - uses: stefanzweifel/git-auto-commit-action@v4.16.0 + - uses: stefanzweifel/git-auto-commit-action@v5 with: commit_message: Apply php-cs-fixer changes diff --git a/stubs/routes.stub b/stubs/routes.stub index 12d8811..a6baf92 100644 --- a/stubs/routes.stub +++ b/stubs/routes.stub @@ -2,19 +2,19 @@ Route::prefix('dynamic-forms')->name('dynamic-forms.')->group(function () { // Dummy route so we can use the route() helper to give formiojs the base path for this group Route::get('/')->name('index'); - Route::post('storage/s3', [Controllers\DynamicFormsStorageController::class, 'storeS3']) + Route::post('storage/s3', [\App\Http\Controllers\DynamicFormsStorageController::class, 'storeS3']) ->withoutMiddleware([\Illuminate\Foundation\Http\Middleware\VerifyCsrfToken::class]); - Route::get('storage/s3', [Controllers\DynamicFormsStorageController::class, 'showS3'])->name('S3-file-download'); + Route::get('storage/s3', [App\Http\Controllers\DynamicFormsStorageController::class, 'showS3'])->name('S3-file-download'); Route::get('storage/s3/{fileKey}', [Controllers\DynamicFormsStorageController::class, 'showS3'])->name('S3-file-redirect'); - Route::post('storage/url', [Controllers\DynamicFormsStorageController::class, 'storeURL']) + Route::post('storage/url', [\App\Http\Controllers\DynamicFormsStorageController::class, 'storeURL']) ->withoutMiddleware([\Illuminate\Foundation\Http\Middleware\VerifyCsrfToken::class]); - Route::get('storage/url', [Controllers\DynamicFormsStorageController::class, 'showURL'])->name('url-file-download'); + Route::get('storage/url', [\App\Http\Controllers\DynamicFormsStorageController::class, 'showURL'])->name('url-file-download'); Route::delete('storage/url', [Controllers\DynamicFormsStorageController::class, 'deleteURL']); - Route::get('form', [Controllers\ResourceController::class, 'index']); - Route::get('form/{resource}', [Controllers\ResourceController::class, 'resource']); - Route::get('form/{resource}/submission', [Controllers\ResourceController::class, 'resourceSubmissions']); + Route::get('form', [\App\Http\Controllers\ResourceController::class, 'index']); + Route::get('form/{resource}', [\App\Http\Controllers\ResourceController::class, 'resource']); + Route::get('form/{resource}/submission', [\App\Http\Controllers\ResourceController::class, 'resourceSubmissions']); });