From a211d2bfeed0409a8fd8d7435404416a336f16d0 Mon Sep 17 00:00:00 2001 From: Scott Euser Date: Wed, 2 Oct 2024 15:40:16 +0100 Subject: [PATCH 1/2] Add all supported versions of php to github workflow --- .github/workflows/test.yml | 6 +++++- composer.json | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 609cf73..611415e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -6,6 +6,10 @@ jobs: ci: runs-on: ubuntu-latest + strategy: + matrix: + php-version: [8.1, 8.2, 8.3] + steps: - name: Checkout uses: actions/checkout@v3 @@ -13,7 +17,7 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: 8.2 + php-version: ${{ matrix.php-version }} tools: composer:v2 coverage: xdebug diff --git a/composer.json b/composer.json index df47832..5dbda70 100644 --- a/composer.json +++ b/composer.json @@ -18,7 +18,7 @@ } ], "require": { - "php": "^8.2", + "php": "^8.1", "saloonphp/saloon": "^3.6" }, "autoload": { From 66941fef877ea5de5cc1e989c52daa3dd7b839d9 Mon Sep 17 00:00:00 2001 From: Scott Euser Date: Thu, 10 Oct 2024 09:25:01 +0100 Subject: [PATCH 2/2] Change package name --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 5dbda70..7854cfb 100644 --- a/composer.json +++ b/composer.json @@ -1,5 +1,5 @@ { - "name": "probots-io/pinecone-php", + "name": "scotteuser/pinecone-php", "description": "Unofficial PHP Client for Pinecone Vector Database (pinecone.io)", "type": "library", "homepage": "https://probots.io",