From 2dc7632ef50db82f1b241833189f71df365c7060 Mon Sep 17 00:00:00 2001 From: Charon Date: Mon, 23 Feb 2026 13:46:46 +0000 Subject: [PATCH] feat(ci): use lthn/build:php container image Replace setup-php action with pre-built container. Eliminates ~50s setup overhead per matrix job. Co-Authored-By: Claude Opus 4.6 --- .forgejo/workflows/ci.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml index 720469a..4619f65 100644 --- a/.forgejo/workflows/ci.yml +++ b/.forgejo/workflows/ci.yml @@ -10,6 +10,8 @@ jobs: test: name: PHP ${{ matrix.php }} runs-on: ubuntu-latest + container: + image: lthn/build:php-\${{ matrix.php }} strategy: fail-fast: true @@ -19,13 +21,6 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Setup PHP - uses: https://github.com/shivammathur/setup-php@v2 - with: - php-version: ${{ matrix.php }} - extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite - coverage: pcov - - name: Clone sister packages env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}