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 <noreply@anthropic.com>
This commit is contained in:
parent
739e84d84b
commit
2dc7632ef5
1 changed files with 2 additions and 7 deletions
|
|
@ -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 }}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue