From b02181ebd011b8b318757c5da5a5fc671528d6a1 Mon Sep 17 00:00:00 2001 From: Jonathan Miller Date: Thu, 16 Apr 2026 23:20:54 -0500 Subject: [PATCH] =?UTF-8?q?Replace=20shivammathur/setup-php=20=E2=80=94=20?= =?UTF-8?q?PHP=20in=20runner=20image=20[skip=20ci]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci-joomla.yml | 16 ++------ .github/workflows/deploy-manual.yml | 8 +--- .github/workflows/standards-compliance.yml | 44 +++++++-------------- .github/workflows/sync-version-on-merge.yml | 6 +-- 4 files changed, 22 insertions(+), 52 deletions(-) diff --git a/.github/workflows/ci-joomla.yml b/.github/workflows/ci-joomla.yml index 1017dea..f3394c2 100644 --- a/.github/workflows/ci-joomla.yml +++ b/.github/workflows/ci-joomla.yml @@ -39,12 +39,8 @@ jobs: uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 - name: Setup PHP - uses: shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # v2.31.0 - with: - php-version: '8.2' - extensions: mbstring, xml, zip, gd, curl, json, simplexml - tools: composer:v2 - coverage: none + run: | + php -v && composer --version - name: Clone MokoStandards env: @@ -344,12 +340,8 @@ jobs: uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 - name: Setup PHP ${{ matrix.php }} - uses: shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # v2.31.0 - with: - php-version: ${{ matrix.php }} - extensions: mbstring, xml, zip, gd, curl, json, simplexml - tools: composer:v2 - coverage: none + run: | + php -v && composer --version - name: Install dependencies env: diff --git a/.github/workflows/deploy-manual.yml b/.github/workflows/deploy-manual.yml index 2f60803..9d8c732 100644 --- a/.github/workflows/deploy-manual.yml +++ b/.github/workflows/deploy-manual.yml @@ -39,12 +39,8 @@ jobs: uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 - name: Setup PHP - uses: shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # v2.31.0 - with: - php-version: '8.2' - extensions: json, ssh2 - tools: composer - coverage: none + run: | + php -v && composer --version - name: Setup MokoStandards tools env: diff --git a/.github/workflows/standards-compliance.yml b/.github/workflows/standards-compliance.yml index ceee3f9..5435bea 100644 --- a/.github/workflows/standards-compliance.yml +++ b/.github/workflows/standards-compliance.yml @@ -497,12 +497,8 @@ jobs: uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 - name: Set up PHP - uses: shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # v2.31.0 - with: - php-version: '8.1' - extensions: json - tools: composer - coverage: none + run: | + php -v && composer --version - name: Setup MokoStandards tools env: @@ -1333,9 +1329,8 @@ jobs: uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 - name: Setup PHP - uses: shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # v2.31.0 - with: - php-version: '8.1' + run: | + php -v && composer --version - name: Analyze Complexity run: | @@ -1376,9 +1371,8 @@ jobs: uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 - name: Setup PHP - uses: shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # v2.31.0 - with: - php-version: '8.1' + run: | + php -v && composer --version - name: Detect Duplicates run: | @@ -1632,9 +1626,8 @@ jobs: uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 - name: Setup PHP - uses: shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # v2.31.0 - with: - php-version: '8.1' + run: | + php -v && composer --version - name: Setup Python uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 @@ -1707,9 +1700,8 @@ jobs: uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 - name: Setup PHP - uses: shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # v2.31.0 - with: - php-version: '8.1' + run: | + php -v && composer --version - name: Check Unused Dependencies run: | @@ -1961,12 +1953,8 @@ jobs: uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 - name: Set up PHP - uses: shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # v2.31.0 - with: - php-version: '8.1' - extensions: json, mbstring - tools: composer - coverage: none + run: | + php -v && composer --version - name: Install API Package env: @@ -2033,12 +2021,8 @@ jobs: uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 - name: Set up PHP - uses: shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # v2.31.0 - with: - php-version: '8.1' - extensions: json, mbstring - tools: composer - coverage: none + run: | + php -v && composer --version - name: Install API Package env: diff --git a/.github/workflows/sync-version-on-merge.yml b/.github/workflows/sync-version-on-merge.yml index 9322ca2..d737457 100644 --- a/.github/workflows/sync-version-on-merge.yml +++ b/.github/workflows/sync-version-on-merge.yml @@ -50,10 +50,8 @@ jobs: fetch-depth: 0 - name: Set up PHP - uses: shivammathur/setup-php@fcafdd6392932010c2bd5094439b8e33be2a8a09 # v2.37.0 - with: - php-version: '8.1' - tools: composer + run: | + php -v && composer --version - name: Setup MokoStandards tools env: