diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 28c1ae0..4fc1131 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -29,13 +29,14 @@ jobs: load: true files: | docker-compose.yml + docker-compose.ci.yml set: | *.cache-from=type=gha,scope=${{github.ref}} *.cache-from=type=gha,scope=refs/heads/master *.cache-to=type=gha,scope=${{github.ref}},mode=max - name: Start services - run: docker compose up -d + run: docker compose -f docker-compose.yml -f docker-compose.ci.yml up -d - name: Install dependencies run: docker compose exec -T php composer install diff --git a/app/composer.json b/app/composer.json index ba24891..71396dc 100644 --- a/app/composer.json +++ b/app/composer.json @@ -46,8 +46,7 @@ "phpstan/extension-installer": true }, "preferred-install": { - "phpstan/phpstan": "dist", - "symfony/*": "source" + "phpstan/phpstan": "dist" }, "sort-packages": true }, diff --git a/docker-compose.ci.yml b/docker-compose.ci.yml new file mode 100644 index 0000000..3bde654 --- /dev/null +++ b/docker-compose.ci.yml @@ -0,0 +1,5 @@ +version: "3.9" + +services: + php: + volumes: !reset []