diff --git a/.github/workflows/run-test-suite.yml b/.github/workflows/run-test-suite.yml index 2c4461c41..2468fa44a 100644 --- a/.github/workflows/run-test-suite.yml +++ b/.github/workflows/run-test-suite.yml @@ -55,7 +55,6 @@ jobs: fail-fast: ${{ inputs.fail-fast }} matrix: php: - - 8.1 - 8.2 - 8.3 - 8.4 @@ -67,7 +66,7 @@ jobs: # Add Windows - os: windows-latest extensions-suffix: ', protobuf' - php: 8.1 + php: 8.2 dependencies: highest steps: - name: Set Git To Use LF @@ -94,14 +93,28 @@ jobs: - name: Validate lowest dependencies id: validate - if: matrix.dependencies == 'lowest' && matrix.php == '8.1' + if: matrix.dependencies == 'lowest' && matrix.php == '8.2' env: COMPOSER_POOL_OPTIMIZER: 0 run: vendor/bin/validate-prefer-lowest continue-on-error: true - - name: Download binaries + - name: Cache runtime binaries + id: cache-binaries if: inputs.download-binaries == true + uses: actions/cache@v4 + with: + path: | + ./rr + ./rr.exe + ./temporal + ./temporal.exe + ./temporal-test-server + ./temporal-test-server.exe + key: ${{ runner.os }}-binaries-${{ hashFiles('dload.xml') }} + + - name: Download binaries + if: inputs.download-binaries == true && steps.cache-binaries.outputs.cache-hit != 'true' run: composer get:binaries - name: Run tests diff --git a/composer.json b/composer.json index 90f9c970a..ecb14f291 100644 --- a/composer.json +++ b/composer.json @@ -21,7 +21,7 @@ "source": "https://github.com/temporalio/sdk-php" }, "require": { - "php": ">=8.1", + "php": ">=8.2", "ext-curl": "*", "ext-json": "*", "google/common-protos": "^4.9",