Skip to content

Commit 4702d79

Browse files
authored
Merge pull request #140 from maciejlew/workflow-fix
Workflow fix
2 parents a58a422 + 740353d commit 4702d79

11 files changed

Lines changed: 13 additions & 77 deletions

File tree

.github/workflows/tests.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,8 @@ jobs:
4949
- name: Install dependencies
5050
run: composer update --prefer-dist --no-interaction
5151

52+
- name: Audit dependencies
53+
run: composer audit || true
54+
5255
- name: Running unit tests
5356
run: php vendor/bin/phpunit --configuration tests-resources/phpunit.dist.xml --testsuite unit

build/php-7.1/Dockerfile

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,7 @@ FROM php:7.1-cli-alpine
33

44
RUN apk update && \
55
apk upgrade && \
6-
apk add --no-cache \
7-
autoconf \
8-
g++ \
9-
make
10-
11-
RUN pecl install xdebug-2.9.8 && \
12-
pecl clear-cache && \
13-
docker-php-ext-enable xdebug
6+
apk add --no-cache make
147

158
COPY --from=composer /usr/bin/composer /usr/bin/composer
169

build/php-7.2/Dockerfile

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,7 @@ FROM php:7.2-cli-alpine
33

44
RUN apk update && \
55
apk upgrade && \
6-
apk add --no-cache \
7-
autoconf \
8-
g++ \
9-
make
10-
11-
RUN pecl install xdebug-2.9.8 && \
12-
pecl clear-cache && \
13-
docker-php-ext-enable xdebug
6+
apk add --no-cache make
147

158
COPY --from=composer /usr/bin/composer /usr/bin/composer
169

build/php-7.3/Dockerfile

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,7 @@ FROM php:7.3-cli-alpine
33

44
RUN apk update && \
55
apk upgrade && \
6-
apk add --no-cache \
7-
autoconf \
8-
g++ \
9-
make
10-
11-
RUN pecl install xdebug-2.9.8 && \
12-
pecl clear-cache && \
13-
docker-php-ext-enable xdebug
6+
apk add --no-cache make
147

158
COPY --from=composer /usr/bin/composer /usr/bin/composer
169

build/php-7.4/Dockerfile

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,7 @@ FROM php:7.4-cli-alpine
33

44
RUN apk update && \
55
apk upgrade && \
6-
apk add --no-cache \
7-
autoconf \
8-
g++ \
9-
make
10-
11-
RUN pecl install xdebug-2.9.8 && \
12-
pecl clear-cache && \
13-
docker-php-ext-enable xdebug
6+
apk add --no-cache make
147

158
COPY --from=composer /usr/bin/composer /usr/bin/composer
169

build/php-8.0/Dockerfile

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,7 @@ FROM php:8.0-cli-alpine
33

44
RUN apk update && \
55
apk upgrade && \
6-
apk add --no-cache \
7-
autoconf \
8-
g++ \
9-
make
10-
11-
RUN pecl install xdebug-3.1.6 && \
12-
pecl clear-cache && \
13-
docker-php-ext-enable xdebug
6+
apk add --no-cache make
147

158
COPY --from=composer /usr/bin/composer /usr/bin/composer
169

build/php-8.1/Dockerfile

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,7 @@ FROM php:8.1-cli-alpine
33

44
RUN apk update && \
55
apk upgrade && \
6-
apk add --no-cache \
7-
autoconf \
8-
g++ \
9-
make
10-
11-
RUN pecl install xdebug-3.1.6 && \
12-
pecl clear-cache && \
13-
docker-php-ext-enable xdebug
6+
apk add --no-cache make
147

158
COPY --from=composer /usr/bin/composer /usr/bin/composer
169

build/php-8.2/Dockerfile

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,7 @@ FROM php:8.2-cli-alpine
33

44
RUN apk update && \
55
apk upgrade && \
6-
apk add --no-cache \
7-
autoconf \
8-
g++ \
9-
make \
10-
linux-headers
11-
12-
RUN pecl install xdebug-3.2.2 && \
13-
pecl clear-cache && \
14-
docker-php-ext-enable xdebug
6+
apk add --no-cache make
157

168
COPY --from=composer /usr/bin/composer /usr/bin/composer
179

build/php-8.3/Dockerfile

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,7 @@ FROM php:8.3-cli-alpine
33

44
RUN apk update && \
55
apk upgrade && \
6-
apk add --no-cache \
7-
autoconf \
8-
g++ \
9-
make \
10-
linux-headers
11-
12-
RUN pecl install xdebug-3.3.1 && \
13-
pecl clear-cache && \
14-
docker-php-ext-enable xdebug
6+
apk add --no-cache make
157

168
COPY --from=composer /usr/bin/composer /usr/bin/composer
179

build/php-8.4/Dockerfile

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,7 @@ FROM php:8.4-cli-alpine
33

44
RUN apk update && \
55
apk upgrade && \
6-
apk add --no-cache \
7-
autoconf \
8-
g++ \
9-
make \
10-
linux-headers
11-
12-
RUN pecl install xdebug-3.4.4 && \
13-
pecl clear-cache && \
14-
docker-php-ext-enable xdebug
6+
apk add --no-cache make
157

168
COPY --from=composer /usr/bin/composer /usr/bin/composer
179

0 commit comments

Comments
 (0)