Skip to content

Commit 5e579a1

Browse files
Update flix-tech/avro-php (#75)
This upgrades to the latest `flix-tech/avro-php` version and adds PHP 8 CI checks.
1 parent 8981711 commit 5e579a1

File tree

3 files changed

+24
-14
lines changed

3 files changed

+24
-14
lines changed

.github/workflows/checks.yml

Lines changed: 21 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,17 @@ jobs:
2828
matrix:
2929
php:
3030
-
31-
version: 7.4
32-
xdebug: 3.1.5
31+
version: '7.4'
32+
xdebug: '3.1.5'
3333
-
34-
version: 8.0
35-
xdebug: 3.1.5
34+
version: '8.0'
35+
xdebug: '3.1.5'
3636
-
37-
version: 8.1
38-
xdebug: 3.1.5
37+
version: '8.1'
38+
xdebug: '3.1.5'
39+
-
40+
version: '8.2'
41+
xdebug: '3.2.1'
3942
runs-on: ubuntu-20.04
4043
steps:
4144
-
@@ -79,22 +82,28 @@ jobs:
7982
matrix:
8083
php:
8184
-
82-
version: 7.4
85+
version: '7.4'
86+
composer: --prefer-lowest
87+
-
88+
version: '8.0'
8389
composer: --prefer-lowest
8490
-
85-
version: 8.0
91+
version: '8.1'
8692
composer: --prefer-lowest
8793
-
88-
version: 8.1
94+
version: '8.2'
8995
composer: --prefer-lowest
9096
-
91-
version: 7.4
97+
version: '7.4'
98+
composer: --prefer-stable
99+
-
100+
version: '8.0'
92101
composer: --prefer-stable
93102
-
94-
version: 8.0
103+
version: '8.1'
95104
composer: --prefer-stable
96105
-
97-
version: 8.1
106+
version: '8.2'
98107
composer: --prefer-stable
99108
steps:
100109
-

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ RUN apk add --no-cache --virtual .build-deps $PHPIZE_DEPS \
1212
&& docker-php-source extract \
1313
&& docker-php-ext-configure zip \
1414
&& docker-php-ext-install zip \
15+
&& apk add --update linux-headers \
1516
&& mkdir -p /usr/src/php/ext/xdebug \
1617
&& curl -fsSL https://github.com/xdebug/xdebug/archive/$XDEBUG_VERSION.tar.gz | tar xvz -C /usr/src/php/ext/xdebug --strip 1 \
1718
&& docker-php-ext-install xdebug \

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@
1111
}
1212
],
1313
"require": {
14-
"php": "^7.4|^8.0|^8.1",
14+
"php": "^7.4|^8.0",
1515
"ext-curl": "*",
1616
"ext-json": "*",
1717
"guzzlehttp/guzzle": "^7.0",
1818
"guzzlehttp/promises": "^1.4.0",
1919
"guzzlehttp/psr7": "^1.7|^2.1",
2020
"beberlei/assert": "~2.7|~3.0",
21-
"flix-tech/avro-php": "^4.3"
21+
"flix-tech/avro-php": "^5.0"
2222
},
2323
"require-dev": {
2424
"phpunit/phpunit": "^9.4.2",

0 commit comments

Comments
 (0)