Skip to content

Commit e036feb

Browse files
committed
Revert "fixed CI pipeline error with previous modernized additions"
This reverts commit 727bcf2.
1 parent bf992e4 commit e036feb

1 file changed

Lines changed: 6 additions & 19 deletions

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ on:
99
jobs:
1010
test:
1111
runs-on: ubuntu-latest
12-
container: php:${{ matrix.php-version }}-cli
1312

1413
strategy:
1514
fail-fast: false
@@ -22,24 +21,12 @@ jobs:
2221
- name: Checkout code
2322
uses: actions/checkout@v4
2423

25-
- name: Install system dependencies and PHP extensions
26-
run: |
27-
apt-get update
28-
apt-get install -y git unzip libzip-dev libxml2-dev
29-
docker-php-ext-install xml zip
30-
if [ "${{ matrix.php-version }}" = "8.3" ]; then
31-
pecl install xdebug
32-
docker-php-ext-enable xdebug
33-
fi
34-
php -v
35-
php -m
36-
37-
- name: Install Composer
38-
run: |
39-
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
40-
php composer-setup.php --install-dir=/usr/local/bin --filename=composer
41-
rm composer-setup.php
42-
composer --version
24+
- name: Setup PHP
25+
uses: shivammathur/setup-php@v2
26+
with:
27+
php-version: ${{ matrix.php-version }}
28+
extensions: mbstring, xml, ctype, json
29+
coverage: xdebug
4330

4431
- name: Validate composer.json and composer.lock
4532
run: composer validate --strict

0 commit comments

Comments
 (0)