diff --git a/.github/workflows/on-pull-request.yaml b/.github/workflows/on-pull-request.yaml index 435aac61..3d31e562 100644 --- a/.github/workflows/on-pull-request.yaml +++ b/.github/workflows/on-pull-request.yaml @@ -8,7 +8,11 @@ on: jobs: test: + strategy: + matrix: + php-version: ["7.4", "8.0", "8.1", "8.2"] runs-on: ubuntu-latest + env: TEST_AUTH_TOKEN: ${{ secrets.ALPHA_TEST_AUTH_TOKEN }} TEST_CACHE_NAME: php-integration-test-cache @@ -35,7 +39,7 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: '8.0' + php-version: ${{ matrix.php-version }} extensions: grpc tools: composer diff --git a/examples/composer.json b/examples/composer.json index ab0e4f27..7e7dfc22 100644 --- a/examples/composer.json +++ b/examples/composer.json @@ -1,11 +1,6 @@ { "require": { - "momentohq/client-sdk-php": "1.3.0", + "momentohq/client-sdk-php": "1.4.0", "monolog/monolog": "^2.5" - }, - "config": { - "platform": { - "php": "8.0" - } } }