From 1a4e3a5c40ee39166aa6c0c0ee6d2d2d1b479291 Mon Sep 17 00:00:00 2001 From: Luke Downing Date: Wed, 1 Feb 2023 13:02:37 +0000 Subject: [PATCH 1/9] chore(deps): Laravel 10 support Adds support for the upcoming release of Laravel 10. --- .github/workflows/main.yml | 61 ++++++++++++++++++++------------------ composer.json | 2 +- 2 files changed, 33 insertions(+), 30 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9727716..a7c3664 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,29 +1,32 @@ -name: Tests - -on: - push: - -jobs: - setup: - runs-on: ubuntu-latest - name: Pest on PHP ${{ matrix.php }} - strategy: - matrix: - php: ['8.2'] - - steps: - - name: Checkout code - uses: actions/checkout@v2 - - - name: Setup PHP - uses: shivammathur/setup-php@v2 - with: - extensions: oauth - coverage: none - php-version: ${{ matrix.php }} - - - name: Install Composer dependencies - uses: ramsey/composer-install@v1 - - - name: Test php code - run: composer test:unit +name: Tests + +on: + push: + +jobs: + setup: + runs-on: ubuntu-latest + name: Pest on PHP ${{ matrix.php }} - Testbench ${{ matrix.testbench }} + strategy: + matrix: + php: ['8.2'] + testbench: [7.*, 8.*] + + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Setup PHP + uses: shivammathur/setup-php@v2 + with: + extensions: oauth + coverage: none + php-version: ${{ matrix.php }} + + - name: Install Composer dependencies + run: | + composer require "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update + composer update --${{ matrix.stability }} --prefer-dist --no-interaction + + - name: Test php code + run: composer test:unit diff --git a/composer.json b/composer.json index 8f7d676..4017a71 100644 --- a/composer.json +++ b/composer.json @@ -8,7 +8,7 @@ "azuyalabs/yasumi": "^2.5" }, "require-dev": { - "orchestra/testbench": "^7.18", + "orchestra/testbench": "^7.18|^8.0", "pestphp/pest": "^1.22.3", "pestphp/pest-plugin-parallel": "^1.2", "worksome/coding-style": "^2.3" From 4a9965d21e02314d30f795d5d5b1a1380e188414 Mon Sep 17 00:00:00 2001 From: Luke Downing Date: Wed, 1 Feb 2023 13:04:24 +0000 Subject: [PATCH 2/9] chore(deps): Laravel 10 support Adds support for the upcoming release of Laravel 10. --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a7c3664..75617e0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -25,7 +25,7 @@ jobs: - name: Install Composer dependencies run: | - composer require "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update + composer require "orchestra/testbench:${{ matrix.testbench }}" --dev --no-interaction --no-update composer update --${{ matrix.stability }} --prefer-dist --no-interaction - name: Test php code From b71253e2ce2a8081cffbee704bd895e51ad8c339 Mon Sep 17 00:00:00 2001 From: Luke Downing Date: Wed, 1 Feb 2023 13:05:51 +0000 Subject: [PATCH 3/9] chore(deps): Laravel 10 support Adds support for the upcoming release of Laravel 10. --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 75617e0..2401a3a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -25,7 +25,7 @@ jobs: - name: Install Composer dependencies run: | - composer require "orchestra/testbench:${{ matrix.testbench }}" --dev --no-interaction --no-update + composer update "orchestra/testbench:${{ matrix.testbench }}" --dev --no-interaction --no-install composer update --${{ matrix.stability }} --prefer-dist --no-interaction - name: Test php code From 6df7828fdc17e43c9377902f3f18b1b1c2d06849 Mon Sep 17 00:00:00 2001 From: Luke Downing Date: Wed, 1 Feb 2023 13:07:57 +0000 Subject: [PATCH 4/9] chore(deps): Laravel 10 support Adds support for the upcoming release of Laravel 10. --- .github/workflows/main.yml | 51 +++++++++++++++++++++----------------- 1 file changed, 28 insertions(+), 23 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2401a3a..f7f6906 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,32 +1,37 @@ name: Tests on: - push: + push: jobs: - setup: - runs-on: ubuntu-latest - name: Pest on PHP ${{ matrix.php }} - Testbench ${{ matrix.testbench }} - strategy: - matrix: - php: ['8.2'] - testbench: [7.*, 8.*] + setup: + runs-on: ubuntu-latest + name: Pest on PHP ${{ matrix.php }} - Testbench ${{ matrix.testbench }} + strategy: + matrix: + php: [ '8.2' ] + testbench: [ 7.*, 8.* ] + include: + - testbench: 7.* + laravel: 9.* + - testbench: 8.* + laravel: 10.* - steps: - - name: Checkout code - uses: actions/checkout@v2 + steps: + - name: Checkout code + uses: actions/checkout@v2 - - name: Setup PHP - uses: shivammathur/setup-php@v2 - with: - extensions: oauth - coverage: none - php-version: ${{ matrix.php }} + - name: Setup PHP + uses: shivammathur/setup-php@v2 + with: + extensions: oauth + coverage: none + php-version: ${{ matrix.php }} - - name: Install Composer dependencies - run: | - composer update "orchestra/testbench:${{ matrix.testbench }}" --dev --no-interaction --no-install - composer update --${{ matrix.stability }} --prefer-dist --no-interaction + - name: Install Composer dependencies + run: | + composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update + composer update --${{ matrix.stability }} --prefer-dist --no-interaction - - name: Test php code - run: composer test:unit + - name: Test php code + run: composer test:unit From f9589dd755e3e0c5cae5482db0fa8c23fd917fe9 Mon Sep 17 00:00:00 2001 From: Luke Downing Date: Wed, 1 Feb 2023 13:09:11 +0000 Subject: [PATCH 5/9] chore(deps): Laravel 10 support Adds support for the upcoming release of Laravel 10. --- .github/workflows/main.yml | 56 +++++++++++++++++++------------------- 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f7f6906..a87681c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,37 +1,37 @@ name: Tests on: - push: + push: jobs: - setup: - runs-on: ubuntu-latest - name: Pest on PHP ${{ matrix.php }} - Testbench ${{ matrix.testbench }} - strategy: - matrix: - php: [ '8.2' ] - testbench: [ 7.*, 8.* ] - include: - - testbench: 7.* - laravel: 9.* - - testbench: 8.* - laravel: 10.* + setup: + runs-on: ubuntu-latest + name: Pest on PHP ${{ matrix.php }} - Testbench ${{ matrix.testbench }} + strategy: + matrix: + php: ['8.2'] + testbench: [7.*, 8.*] + include: + - testbench: 7.* + laravel: 9.* + - testbench: 8.* + laravel: 10.* - steps: - - name: Checkout code - uses: actions/checkout@v2 + steps: + - name: Checkout code + uses: actions/checkout@v2 - - name: Setup PHP - uses: shivammathur/setup-php@v2 - with: - extensions: oauth - coverage: none - php-version: ${{ matrix.php }} + - name: Setup PHP + uses: shivammathur/setup-php@v2 + with: + extensions: oauth + coverage: none + php-version: ${{ matrix.php }} - - name: Install Composer dependencies - run: | - composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update - composer update --${{ matrix.stability }} --prefer-dist --no-interaction + - name: Install Composer dependencies + run: | + composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update + composer update --${{ matrix.stability }} --prefer-dist --no-interaction - - name: Test php code - run: composer test:unit + - name: Test php code + run: composer test:unit From 2ab2436c6986a1f4661ed63ae331f666f50f230d Mon Sep 17 00:00:00 2001 From: Luke Downing Date: Wed, 1 Feb 2023 13:10:59 +0000 Subject: [PATCH 6/9] chore(deps): Laravel 10 support Adds support for the upcoming release of Laravel 10. --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a87681c..d908550 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -19,7 +19,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Setup PHP uses: shivammathur/setup-php@v2 From 8787ef671be63feafe40f96e24fa528ee2e37eac Mon Sep 17 00:00:00 2001 From: Luke Downing Date: Wed, 1 Feb 2023 13:16:41 +0000 Subject: [PATCH 7/9] chore(deps): Laravel 10 support Adds support for the upcoming release of Laravel 10. --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d908550..01a15da 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -31,7 +31,7 @@ jobs: - name: Install Composer dependencies run: | composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update - composer update --${{ matrix.stability }} --prefer-dist --no-interaction + composer update --prefer-dist --no-interaction - name: Test php code run: composer test:unit From 6643576378c62026c355344448c55933b1a72edf Mon Sep 17 00:00:00 2001 From: Luke Downing Date: Wed, 1 Feb 2023 13:17:50 +0000 Subject: [PATCH 8/9] chore(deps): Laravel 10 support Adds support for the upcoming release of Laravel 10. --- composer.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 4017a71..af4961d 100644 --- a/composer.json +++ b/composer.json @@ -50,5 +50,7 @@ "Worksome\\UkTaxAllowance\\UkTaxAllowanceServiceProvider" ] } - } + }, + "minimum-stability": "dev", + "prefer-stable": true } From e7ed030055f379539e666de416dd66c3be135696 Mon Sep 17 00:00:00 2001 From: Luke Downing Date: Wed, 1 Feb 2023 13:29:59 +0000 Subject: [PATCH 9/9] chore(deps): Laravel 10 support Adds support for the upcoming release of Laravel 10. --- .github/workflows/main.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 01a15da..584725e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,11 +11,6 @@ jobs: matrix: php: ['8.2'] testbench: [7.*, 8.*] - include: - - testbench: 7.* - laravel: 9.* - - testbench: 8.* - laravel: 10.* steps: - name: Checkout code @@ -30,7 +25,7 @@ jobs: - name: Install Composer dependencies run: | - composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update + composer require "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update composer update --prefer-dist --no-interaction - name: Test php code