From 2f5c0d952206926849e10c801e554efe1b79c5f8 Mon Sep 17 00:00:00 2001 From: William Storey Date: Sun, 11 Oct 2026 15:46:49 +0000 Subject: [PATCH] Update setup-php to 2.40.0 Use the same setup-php version as the other MaxMind PHP repositories. 2.37.2 breaks on macOS because Homebrew changed from 2026-10-07 to 2026-10-09. This repository has no macOS jobs, so its CI is not affected now. ENG-5610 Co-Authored-By: Claude Opus 5.5 --- .github/workflows/clang-analyzer.yml | 2 +- .github/workflows/codeql-analysis.yml | 2 +- .github/workflows/lint.yml | 2 +- .github/workflows/test-bundled.yml | 4 ++-- .github/workflows/test.yml | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/clang-analyzer.yml b/.github/workflows/clang-analyzer.yml index 51bf543..56e0080 100644 --- a/.github/workflows/clang-analyzer.yml +++ b/.github/workflows/clang-analyzer.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Setup PHP - uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # 2.37.2 + uses: shivammathur/setup-php@eb7c497e18156a6bbabfef1d3a82760b9eda3962 # 2.40.0 with: php-version: 8.4 tools: composer, phpize diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index ef00155..36ae048 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -15,7 +15,7 @@ jobs: steps: - name: Setup PHP - uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # 2.37.2 + uses: shivammathur/setup-php@eb7c497e18156a6bbabfef1d3a82760b9eda3962 # 2.40.0 with: php-version: '8.4' tools: phpize diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 3823ec8..c9e964e 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -14,7 +14,7 @@ jobs: name: "PHP Lints" steps: - name: Setup PHP - uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # 2.37.2 + uses: shivammathur/setup-php@eb7c497e18156a6bbabfef1d3a82760b9eda3962 # 2.40.0 with: php-version: 8.3 diff --git a/.github/workflows/test-bundled.yml b/.github/workflows/test-bundled.yml index 3ef1b02..e23bd30 100644 --- a/.github/workflows/test-bundled.yml +++ b/.github/workflows/test-bundled.yml @@ -44,7 +44,7 @@ jobs: name: "PHP ${{ matrix.php-version }} bundled build on ${{ matrix.runner }}" steps: - name: Install PHP - uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # 2.37.2 + uses: shivammathur/setup-php@eb7c497e18156a6bbabfef1d3a82760b9eda3962 # 2.40.0 with: php-version: ${{ matrix.php-version }} # gmp so ReaderTest's uint128 boundary cases run rather than skip; @@ -172,7 +172,7 @@ jobs: name: "Bundled build with debug flags" steps: - name: Install PHP - uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # 2.37.2 + uses: shivammathur/setup-php@eb7c497e18156a6bbabfef1d3a82760b9eda3962 # 2.40.0 with: php-version: '8.4' extensions: "mbstring, intl" diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9398b5f..27425dc 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -26,7 +26,7 @@ jobs: name: "PHP ${{ matrix.php-version }} (with ${{ matrix.php-extension }}) test on ${{ matrix.runner }}" steps: - name: Install PHP - uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # 2.37.2 + uses: shivammathur/setup-php@eb7c497e18156a6bbabfef1d3a82760b9eda3962 # 2.40.0 with: php-version: ${{ matrix.php-version }} extensions: "mbstring, intl, ${{ matrix.php-extension }}"