From 23e6eb6f9afa5ed3ce2f6097bf938cfbb4f25c63 Mon Sep 17 00:00:00 2001 From: Jakob Givoni Date: Thu, 31 Aug 2023 13:30:09 +0200 Subject: [PATCH] limiting initial compatibility to php 8.2 --- .github/workflows/ci.yml | 8 ++++---- Dockerfile | 2 -- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 76bff54..2641d5d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,7 +6,7 @@ jobs: job1: strategy: matrix: - php_version: ["8.0", "8.1", "8.2"] + php_version: ["8.2"] name: PhpStan static analyzer ${{ matrix.php_version }} runs-on: ubuntu-latest steps: @@ -22,7 +22,7 @@ jobs: run: docker image build . -f Dockerfile -t myimage:latest --build-arg PHP_VERSION=${{ matrix.php_version }} - name: Launch container - run: docker run -d -v "$(pwd)/:/app" --name mycontainer myimage:latest + run: docker run -d -v "$(pwd)/:/app" --name mycontainer myimage:latest tail -f /dev/null - name: Check PHP version run: docker exec mycontainer php -v @@ -39,7 +39,7 @@ jobs: job2: strategy: matrix: - php_version: ["8.0", "8.1", "8.2"] + php_version: ["8.2"] name: PhpUnit unit tests ${{ matrix.php_version }} runs-on: ubuntu-latest steps: @@ -55,7 +55,7 @@ jobs: run: docker image build . -f Dockerfile -t myimage:latest --build-arg PHP_VERSION=${{ matrix.php_version }} - name: Launch container - run: docker run -d -v "$(pwd)/:/app" --name mycontainer myimage:latest + run: docker run -d -v "$(pwd)/:/app" --name mycontainer myimage:latest tail -f /dev/null - name: Check PHP version run: docker exec mycontainer php -v diff --git a/Dockerfile b/Dockerfile index 952cfb8..6ddf0a6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,5 +16,3 @@ RUN install-php-extensions \ @composer-2 WORKDIR /app - -ENTRYPOINT ["tail", "-f", "/dev/null"]