Skip to content

Commit 6916b55

Browse files
Update tests.yml
1 parent b07df8c commit 6916b55

File tree

1 file changed

+5
-11
lines changed

1 file changed

+5
-11
lines changed

.github/workflows/tests.yml

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -51,22 +51,16 @@ jobs:
5151
5252
lint:
5353
runs-on: ubuntu-latest
54-
container:
55-
image: php:8.1
5654

5755
steps:
5856
- name: Checkout code
5957
uses: actions/checkout@v3
6058

61-
- name: Install Git
62-
run: |
63-
apt-get update
64-
apt-get install -y git
65-
66-
- name: Install composer
67-
run: |
68-
curl -sS https://getcomposer.org/installer | php
69-
mv composer.phar /usr/local/bin/composer
59+
- name: Setup PHP with PECL extension
60+
uses: shivammathur/setup-php@v2
61+
with:
62+
php-version: ${{ matrix.php-version }}
63+
extensions: curl
7064

7165
- name: Install
7266
run: composer install

0 commit comments

Comments
 (0)