Repository navigation
ci: Use stable PHP 8.6 from setup-php instead of the Ondřej PPA workaround - #14
Merged
Merged
Conversation
…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>
|
There was a problem hiding this comment.
🔵 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-phpto commite8d43d1for stable PHP 8.6 support. - Makes PHP 8.6 a blocking
ubuntu-latestmatrix 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
xmacan
approved these changes
Nov 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Summary
PHP 8.6.0 was released on 19 Nov 2026, and
shivammathur/setup-phpmarked 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 samesetup-phpstep as every other version.shivammathur/setup-phpfrom 2.40.0 to main commite8d43d139fbfbe401c32ef3a3a32e14075f20122. 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.matrix.php != '8.6'guard, the PPA install step and its comments.This also removes the 8.6 leg's dependency on Launchpad. Today it was failing with
503 Service Unavailablefromppa.launchpadcontent.net.Part of a fleet-wide change across Cacti 1.2.x and the
plugin_*repositories that carried the workaround.