Skip to content

Commit

Permalink
Update flix-tech/avro-php (#75)
Browse files Browse the repository at this point in the history
This upgrades to the latest `flix-tech/avro-php` version and adds PHP 8 CI checks.
  • Loading branch information
MaurizioMoreo committed May 19, 2023
1 parent 8981711 commit 5e579a1
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 14 deletions.
33 changes: 21 additions & 12 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,17 @@ jobs:
matrix:
php:
-
version: 7.4
xdebug: 3.1.5
version: '7.4'
xdebug: '3.1.5'
-
version: 8.0
xdebug: 3.1.5
version: '8.0'
xdebug: '3.1.5'
-
version: 8.1
xdebug: 3.1.5
version: '8.1'
xdebug: '3.1.5'
-
version: '8.2'
xdebug: '3.2.1'
runs-on: ubuntu-20.04
steps:
-
Expand Down Expand Up @@ -79,22 +82,28 @@ jobs:
matrix:
php:
-
version: 7.4
version: '7.4'
composer: --prefer-lowest
-
version: '8.0'
composer: --prefer-lowest
-
version: 8.0
version: '8.1'
composer: --prefer-lowest
-
version: 8.1
version: '8.2'
composer: --prefer-lowest
-
version: 7.4
version: '7.4'
composer: --prefer-stable
-
version: '8.0'
composer: --prefer-stable
-
version: 8.0
version: '8.1'
composer: --prefer-stable
-
version: 8.1
version: '8.2'
composer: --prefer-stable
steps:
-
Expand Down
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ RUN apk add --no-cache --virtual .build-deps $PHPIZE_DEPS \
&& docker-php-source extract \
&& docker-php-ext-configure zip \
&& docker-php-ext-install zip \
&& apk add --update linux-headers \
&& mkdir -p /usr/src/php/ext/xdebug \
&& curl -fsSL https://github.com/xdebug/xdebug/archive/$XDEBUG_VERSION.tar.gz | tar xvz -C /usr/src/php/ext/xdebug --strip 1 \
&& docker-php-ext-install xdebug \
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@
}
],
"require": {
"php": "^7.4|^8.0|^8.1",
"php": "^7.4|^8.0",
"ext-curl": "*",
"ext-json": "*",
"guzzlehttp/guzzle": "^7.0",
"guzzlehttp/promises": "^1.4.0",
"guzzlehttp/psr7": "^1.7|^2.1",
"beberlei/assert": "~2.7|~3.0",
"flix-tech/avro-php": "^4.3"
"flix-tech/avro-php": "^5.0"
},
"require-dev": {
"phpunit/phpunit": "^9.4.2",
Expand Down

0 comments on commit 5e579a1

Please sign in to comment.