From 520aabe6d9abc9cd6677e66b395cefd9f7642aaf Mon Sep 17 00:00:00 2001 From: Dariusz Czajkowski Date: Wed, 4 Mar 2020 02:11:32 +0100 Subject: [PATCH] Added support for Laravel 7 (#49) * Bumped GitHub Actions tests to run on Laravel 7 * Bumped version to Laravel 7 in composer.json --- .github/actions/common/setup | 2 +- .github/workflows/run-tests-on-laravel.yml | 4 ++-- composer.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/actions/common/setup b/.github/actions/common/setup index 9784307..b6a775b 100644 --- a/.github/actions/common/setup +++ b/.github/actions/common/setup @@ -5,7 +5,7 @@ commit="tmp-$(git rev-parse --verify HEAD)" git checkout -b $commit # Create Laravel project -composer create-project --prefer-dist laravel/laravel test-app '6.*' +composer create-project --prefer-dist laravel/laravel test-app '7.*' cd test-app # Require Laravel auth preset and setup views diff --git a/.github/workflows/run-tests-on-laravel.yml b/.github/workflows/run-tests-on-laravel.yml index 953e1a0..3db33d7 100644 --- a/.github/workflows/run-tests-on-laravel.yml +++ b/.github/workflows/run-tests-on-laravel.yml @@ -9,7 +9,7 @@ on: jobs: test_without_email_verification: - name: (PHP ${{ matrix.php }}, Laravel 6) Tests without email verification + name: (PHP ${{ matrix.php }}, Laravel 7) Tests without email verification runs-on: ubuntu-latest strategy: matrix: @@ -37,7 +37,7 @@ jobs: run: ( cd test-app && ./vendor/bin/phpunit ) test_with_email_verification: - name: (PHP ${{ matrix.php }}, Laravel 6) Tests with email verification + name: (PHP ${{ matrix.php }}, Laravel 7) Tests with email verification runs-on: ubuntu-latest strategy: matrix: diff --git a/composer.json b/composer.json index 5dc1375..c17d9bd 100644 --- a/composer.json +++ b/composer.json @@ -10,7 +10,7 @@ } ], "require": { - "laravel/framework": "^6.0" + "laravel/framework": "^7.0" }, "extra": { "laravel": {