Skip to content

Commit f6da127

Browse files
committed
Refactor command logic to improve readability and efficiency, update workflow matrix, and add integration tests.
1 parent 727e274 commit f6da127

15 files changed

Lines changed: 718 additions & 69 deletions

.github/workflows/php-test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
strategy:
99
fail-fast: false
1010
matrix:
11-
laravel: [9, 10, 11, 12]
11+
laravel: [11, 12]
1212
php: [8.2, 8.3, 8.4]
1313

1414
steps:

Dockerfile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
ARG PHP_VERSION=8.2
22
FROM php:$PHP_VERSION-cli-alpine
33

4-
RUN apk add git zip unzip autoconf make g++
4+
RUN apk add git zip unzip autoconf make g++ libxml2-dev
5+
6+
RUN docker-php-ext-install simplexml
57

68
# apparently newer xdebug needs these now?
79
RUN apk add --update linux-headers
@@ -21,8 +23,8 @@ USER dev
2123

2224
COPY --chown=dev composer.json ./
2325

24-
ARG LARAVEL=9
25-
RUN composer require laravel/framework ^$LARAVEL.0
26+
ARG LARAVEL=12
27+
RUN composer require --no-interaction "laravel/framework:^${LARAVEL}.0"
2628

2729
COPY --chown=dev . .
2830

0 commit comments

Comments
 (0)