From 8bf20d11e2c8c57b4ed118bdd4d707b64763fbec Mon Sep 17 00:00:00 2001 From: Akihito Koriyama Date: Sun, 3 Nov 2024 09:35:43 +0900 Subject: [PATCH 1/4] Update PHP versions in CI workflow configuration Include PHP 8.3 in old_stable and set current_stable to 8.4. This ensures that the CI pipeline tests against a wider range of PHP versions, providing better coverage and compatibility checks. --- .github/workflows/continuous-integration.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 85e2727f..e65d2284 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -9,6 +9,6 @@ jobs: ci: uses: ray-di/.github/.github/workflows/continuous-integration.yml@v1 with: - old_stable: '["7.2", "7.3", "7.4", "8.0", "8.1", "8.2"]' - current_stable: 8.3 + old_stable: '["7.2", "7.3", "7.4", "8.0", "8.1", "8.2", "8.3"]' + current_stable: 8.4 script: demo/run.php From a713aeca51d21d962f1fb00eb575004d348e0c61 Mon Sep 17 00:00:00 2001 From: Akihito Koriyama Date: Sun, 3 Nov 2024 09:35:56 +0900 Subject: [PATCH 2/4] Update PHP version to 8.3 in GitHub workflows Upgraded the PHP version from 8.2 to 8.3 in static-analysis and coding-standards workflow files. This ensures compatibility with the latest PHP features and security updates. --- .github/workflows/coding-standards.yml | 2 +- .github/workflows/static-analysis.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/coding-standards.yml b/.github/workflows/coding-standards.yml index 1352013d..1a6e7335 100644 --- a/.github/workflows/coding-standards.yml +++ b/.github/workflows/coding-standards.yml @@ -9,4 +9,4 @@ jobs: cs: uses: ray-di/.github/.github/workflows/coding-standards.yml@v1 with: - php_version: 8.2 + php_version: 8.3 diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index 8e86c6df..cfc2b2a3 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -9,6 +9,6 @@ jobs: sa: uses: ray-di/.github/.github/workflows/static-analysis.yml@v1 with: - php_version: 8.2 + php_version: 8.3 has_crc_config: true From b05de53716ddad56eb5b24547983ccac30819784 Mon Sep 17 00:00:00 2001 From: Akihito Koriyama Date: Sun, 3 Nov 2024 09:42:06 +0900 Subject: [PATCH 3/4] Update GitHub Actions checkout to v3 This commit updates the GitHub Actions checkout action from version 2 to version 3. This change ensures compatibility with the latest features and security improvements provided in v3. Make sure to review any breaking changes in the new version's documentation. --- .github/workflows/continuous-integration-pecl.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/continuous-integration-pecl.yml b/.github/workflows/continuous-integration-pecl.yml index 496ea908..dd0dfabc 100644 --- a/.github/workflows/continuous-integration-pecl.yml +++ b/.github/workflows/continuous-integration-pecl.yml @@ -15,7 +15,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Set up PHP ${{ matrix.php-version }} uses: shivammathur/setup-php@v2 From ebd58afa574e4e4bdbb98465453c73560f961120 Mon Sep 17 00:00:00 2001 From: Akihito Koriyama Date: Sun, 3 Nov 2024 10:12:43 +0900 Subject: [PATCH 4/4] Update upload-artifact action to version 4 Updated the GitHub Actions workflow to use version 4 of the upload-artifact action. This ensures compatibility with the latest features and improvements provided by the action. --- .github/workflows/continuous-integration-pecl.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/continuous-integration-pecl.yml b/.github/workflows/continuous-integration-pecl.yml index dd0dfabc..e9f3423e 100644 --- a/.github/workflows/continuous-integration-pecl.yml +++ b/.github/workflows/continuous-integration-pecl.yml @@ -102,7 +102,7 @@ jobs: - name: Upload Valgrind log file if: steps.build_extension.outcome == 'failure' || steps.run_pecl_demo.outcome == 'failure' - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: valgrind-log path: valgrind-out.txt