Skip to content

ci: Use stable PHP 8.6 from setup-php instead of the Ondřej PPA workaround - #14

Merged
TheWitness merged 1 commit into
mainfrom
ci/php86-mainline
Nov 23, 2026
Merged

TheWitness merged 1 commit into
mainfrom
ci/php86-mainline

Conversation

@TheWitness

Copy link
Copy Markdown
Member

Summary

PHP 8.6.0 was released on 19 Nov 2026, and shivammathur/setup-php marked 8.6 as stable on its main branch on 20 Nov (2001cd3, "Mark PHP 8.6 as stable"). This removes the PHP 8.6 workaround that installed a release-candidate CLI from Ondřej Surý's PPA. 8.6 now goes through the same setup-php step as every other version.

  • Repins shivammathur/setup-php from 2.40.0 to main commit e8d43d139fbfbe401c32ef3a3a32e14075f20122. 2.40.0 still treats 8.6 as a nightly (nightly_versions="8.[6-9]"), and that build's extensions fail to load. At the pinned commit, nightly_versions="8.[7-9]". No release includes this yet, so the pin should move to the next tagged release (2.41.0) when it ships.
  • Removes the matrix.php != '8.6' guard, the PPA install step and its comments.
  • 8.6 becomes a normal matrix leg on the default runner, replacing the experimental Ubuntu 24.04 leg that was pinned there only because of the PPA.
  • Where a step skipped 8.6 because the PPA build had no Xdebug, 8.6 now runs it too.

This also removes the 8.6 leg's dependency on Launchpad. Today it was failing with 503 Service Unavailable from ppa.launchpadcontent.net.

Part of a fleet-wide change across Cacti 1.2.x and the plugin_* repositories that carried the workaround.

…round

PHP 8.6.0 is released and setup-php's main branch installs it as a stable
version. Repin setup-php to that commit, drop the PPA toolchain step and its
guards, and run 8.6 as a normal matrix leg.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings November 23, 2026 14:13
@sonarqubecloud

Copy link
Copy Markdown

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

The now-blocking PHP 8.6 job needs integration-run confirmation of Xdebug/Clover support and compatibility with the moving Cacti/Pest toolchain.

No open issues 🎉

What changed in this PR

Updates the credentials plugin’s CI to provision PHP 8.6 through setup-php, replacing the custom PPA installation with the shared PHP setup.

Changes:

  • Pins setup-php to commit e8d43d1 for stable PHP 8.6 support.
  • Makes PHP 8.6 a blocking ubuntu-latest matrix job and removes the experimental Ubuntu 24.04/PPA workaround.
  • Enables the changed-line coverage gate for PHP 8.6 pull-request runs.
File Description
.github/​workflows/​plugin-ci-workflow.yml Unifies PHP provisioning, updates the action pin, and enables standard CI gates for PHP 8.6.

Review effort: Balanced

@TheWitness
TheWitness merged commit f2fa186 into main Nov 23, 2026
8 checks passed
@TheWitness
TheWitness deleted the ci/php86-mainline branch November 23, 2026 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants