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

Speedup build (from 10m to 2m) #5

Merged
merged 9 commits into from
Jun 2, 2024
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
run: docker compose up -d

- name: Install dependencies
run: docker compose exec -T php composer install --prefer-install=source
run: docker compose exec -T php composer install

- name: Install application and DB
run: docker compose exec -T php make app-reinstall
Expand Down
4 changes: 4 additions & 0 deletions app/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@
"symfony/runtime": true,
"phpstan/extension-installer": true
},
"preferred-install": {
"phpstan/phpstan": "dist",
"symfony/*": "source"
},
"sort-packages": true
},
"autoload": {
Expand Down
Loading