From 79dc5ee55f6b4ebb70d34408ea8312e986179510 Mon Sep 17 00:00:00 2001 From: Matthew Penner Date: Thu, 14 Nov 2024 19:25:18 -0700 Subject: [PATCH] chore: update to php 8.2 minimum Signed-off-by: Matthew Penner --- .github/workflows/ci.yaml | 2 +- .github/workflows/lint.yaml | 2 +- Dockerfile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 1c8130552..3bf5d9ecf 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -17,7 +17,7 @@ jobs: strategy: fail-fast: false matrix: - php: [8.1, 8.2] + php: [8.2, 8.3] database: ["mariadb:10.2", "mysql:8"] services: database: diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 4ac292b68..68299f21d 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -21,7 +21,7 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: "8.1" + php-version: "8.2" extensions: bcmath, curl, gd, mbstring, mysql, openssl, pdo, tokenizer, xml, zip tools: composer:v2 coverage: none diff --git a/Dockerfile b/Dockerfile index aae05a526..3c10ad4b2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,7 +10,7 @@ RUN yarn install --frozen-lockfile \ # Stage 1: # Build the actual container with all of the needed PHP dependencies that will run the application. -FROM --platform=$TARGETOS/$TARGETARCH php:8.1-fpm-alpine +FROM --platform=$TARGETOS/$TARGETARCH php:8.2-fpm-alpine WORKDIR /app COPY . ./ COPY --from=0 /app/public/assets ./public/assets