From 895971a695ce23b8f9aba6a7e9293349c764fe25 Mon Sep 17 00:00:00 2001 From: Aliaksei Sanikovich Date: Fri, 26 Sep 2025 03:01:20 +0300 Subject: [PATCH 1/2] Update to Laravel 12 (#23) --- .github/workflows/laravel.yml | 6 +++--- composer.json | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/laravel.yml b/.github/workflows/laravel.yml index 6ad9c76..a01f409 100644 --- a/.github/workflows/laravel.yml +++ b/.github/workflows/laravel.yml @@ -3,17 +3,17 @@ name: CI on: push: branches: - - '11.x' + - '12.x' pull_request: branches: - - '11.x' + - '12.x' env: APP_ENV: test jobs: laravel: - name: Laravel 11 (PHP ${{ matrix.php-versions }}) + name: Laravel 12 (PHP ${{ matrix.php-versions }}) runs-on: ubuntu-latest strategy: fail-fast: true diff --git a/composer.json b/composer.json index e208f51..6c6c196 100644 --- a/composer.json +++ b/composer.json @@ -12,14 +12,14 @@ "require": { "php": ">=8.2", "ext-pdo": "*", - "laravel/framework": "^11.0", + "laravel/framework": "^12.0", "laravel/ui": "^4.0" }, "require-dev": { "ext-fileinfo": "*", "ext-json": "*", "barryvdh/laravel-debugbar": "^3.14", - "barryvdh/laravel-ide-helper": "^3.5", + "barryvdh/laravel-ide-helper": "^3.6", "codeception/codeception": "^5.0.8", "codeception/module-asserts": "^3.0", "codeception/module-laravel": "^3.0 | *@dev", From 8c5ef26873940957d88ee53942ce03cedaf3ff6b Mon Sep 17 00:00:00 2001 From: Aliaksei Sanikovich Date: Fri, 26 Sep 2025 03:06:00 +0300 Subject: [PATCH 2/2] CI: Fix actions/cache version to v3 (#24) --- .github/workflows/laravel.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/laravel.yml b/.github/workflows/laravel.yml index a01f409..83a3999 100644 --- a/.github/workflows/laravel.yml +++ b/.github/workflows/laravel.yml @@ -37,7 +37,7 @@ jobs: run: echo "::set-output name=dir::$(composer config cache-files-dir)" - name: Cache composer dependencies - uses: actions/cache@v2.1.7 + uses: actions/cache@v3 with: path: ${{ steps.composer-cache.outputs.dir }} key: ${{ runner.os }}-${{ matrix.php-versions }}-composer-${{ hashFiles('composer.json') }}