Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Try to install deps without bind-mount #8

Merged
merged 12 commits into from
Jun 2, 2024
3 changes: 2 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 1 addition & 2 deletions app/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@
"phpstan/extension-installer": true
},
"preferred-install": {
"phpstan/phpstan": "dist",
"symfony/*": "source"
"phpstan/phpstan": "dist"
},
"sort-packages": true
},
Expand Down
5 changes: 5 additions & 0 deletions docker-compose.ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
version: "3.9"

services:
php:
volumes: !reset []
Loading