Skip to content

Commit 7814e5b

Browse files
committed
Disable the redis-extension
1 parent e7c09f2 commit 7814e5b

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/reusable_phplinter.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ jobs:
4343
tools: phive
4444
php-version: ${{ inputs.php-version }}
4545
coverage: "none"
46+
extensions: none
4647

4748
- name: Install overtrue/phplint (v3.4)
4849
if: inputs.php-version == '7.4'
@@ -68,6 +69,11 @@ jobs:
6869
sleep $((random % 10))
6970
phive install overtrue/phplint@~9.6.0 --force-accept-unsigned --target ./bin
7071
72+
- name: Disable redis-extension
73+
run: |
74+
mv /etc/php/{{ inputs.php-version }}/conf.d/ext-redis.conf /etc/php/{{ inputs.php-version }}/conf.d/ext-redis.conf.bak
75+
php -r "var_dump(get_loaded_extensions());"
76+
7177
- name: Lint PHP files
7278
run: |
7379
./bin/phplint --no-cache --no-progress -v

0 commit comments

Comments
 (0)