From febc761397eb355eb851792b1b63f1dc3ebc3e8d Mon Sep 17 00:00:00 2001 From: Malachi Soord Date: Mon, 27 Nov 2023 21:32:39 +0100 Subject: [PATCH] Add PHP 8.3 --- .github/workflows/publish-container.yml | 2 +- .github/workflows/push.yml | 6 +++--- Dockerfile | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish-container.yml b/.github/workflows/publish-container.yml index 3d5ead9..dd51108 100644 --- a/.github/workflows/publish-container.yml +++ b/.github/workflows/publish-container.yml @@ -12,7 +12,7 @@ jobs: - name: Install PHP uses: shivammathur/setup-php@master with: - php-version: '8.2' + php-version: '8.3' - name: Install dependencies run: composer install - name: Run tests diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index ee7f990..d5988c0 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -6,7 +6,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - php-version: ['8.2', '8.1', '8.0'] + php-version: ['8.3', '8.2', '8.1', '8.0'] steps: - uses: actions/checkout@v4 - name: Install PHP @@ -19,7 +19,7 @@ jobs: run: | XDEBUG_MODE=coverage ./vendor/bin/phpunit --coverage-clover coverage.xml - uses: codecov/codecov-action@v3 - if: matrix.php-version == '8.2' + if: matrix.php-version == '8.3' with: token: ${{ secrets.CODECOV_TOKEN }} phpstan: @@ -35,7 +35,7 @@ jobs: php-cs-fixer: runs-on: ubuntu-latest container: - image: jakzal/phpqa:php8.1 + image: jakzal/phpqa:php8.3 steps: - uses: actions/checkout@v4 - name: Install dependencies diff --git a/Dockerfile b/Dockerfile index e5737a1..e823b8c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ COPY composer.json /app RUN composer install --no-dev --optimize-autoloader -FROM php:8.2-alpine +FROM php:8.3-alpine COPY . /app