From 2d7ee6a2b49748b01e11304a4c8ff02b4fe6b04c Mon Sep 17 00:00:00 2001 From: Shashwat Mishra <11258035+secrethash@users.noreply.github.com> Date: Sun, 8 Dec 2024 14:30:18 +0530 Subject: [PATCH] change: add auth to workflow --- .github/workflows/run-tests.yml | 3 +++ composer.json | 8 +++++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 675fbc8..6658135 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -33,6 +33,9 @@ jobs: - name: Activate Pest Composer Plugin run: composer config --no-plugins allow-plugins.pestphp/pest-plugin true + - name: Composer Authentication + run: composer config github-oauth.github.com ${{ secrets.PRIVATE_PACKAGE_ACCESS_TOKEN }} + - name: Install dependencies run: composer update --${{ matrix.stability }} --prefer-dist --no-interaction diff --git a/composer.json b/composer.json index 8d415c4..059716c 100644 --- a/composer.json +++ b/composer.json @@ -16,8 +16,14 @@ "role": "Developer" } ], + "repositories": [ + { + "type": "vcs", + "url": "https://github.com/tenancy-for-laravel/v4" + } + ], "require": { - "php": "^8.0", + "php": "^8.2", "aws/aws-sdk-php": "~3.0", "stancl/tenancy": "dev-master" },