mirror of
https://github.com/FOSSBilling/FOSSBilling.git
synced 2026-11-30 04:07:07 +09:00
* Speed up CI: share Docker test image, dedupe PHPStan, fix cache contention live-tests and cypress-tests each independently rebuilt the same PHP 8.5 test image already built by the php-build-test matrix, paying for a registry-cache pull each time. Build it once, export it as a workflow artifact, and have live-tests/cypress-tests just docker load it. PHPStan analyzes source, not runtime behavior, so running it identically across all 3 PHP versions in the matrix was pure duplication. Now it runs once, on PHP 8.3. php-build-test-push and preview-build-push wrote to the shared GHCR registry cache on every push to every branch, not just main. Concurrent branch pushes (including frequent bot autofix branches) could stomp on each other's cache entries, degrading hit rates for everyone. Cache writes are now restricted to main; other branches read-only, same as the existing PR path. * Trim comment verbosity to match existing workflow style The repo's existing workflow comments are single-line "why" notes; tighten the multi-line ones added in the previous commit to match, and drop an unused step id.