Skip to content

Commit

Permalink
revert config cache disabled on composer install
Browse files Browse the repository at this point in the history
  • Loading branch information
Murazaki committed May 10, 2024
1 parent 8e3d5db commit 3ecf62c
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .env.testing
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,4 @@ CS_UNLISTED_DOMAINS='example.org,example.net,example.com'
#HORIZON_DARKMODE=false # Horizon theme darkmode
#HORIZON_EMBED=false # Single Docker Container mode

ENABLE_CONFIG_CACHE=false
ENABLE_CONFIG_CACHE=true
4 changes: 0 additions & 4 deletions .github/workflows/db.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,6 @@ jobs:

- name: Install composer dependencies
run: php composer.phar install -n --prefer-dist
env:
ENABLE_CONFIG_CACHE: false

- name: Setup Environment
run: |
Expand Down Expand Up @@ -237,8 +235,6 @@ jobs:

- name: Install composer dependencies
run: php composer.phar install -n --prefer-dist
env:
ENABLE_CONFIG_CACHE: false

- name: Setup Environment
run: |
Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,6 @@ jobs:

- name: Install composer dependencies
run: php composer.phar install --no-interaction --prefer-dist
env:
ENABLE_CONFIG_CACHE: false

- name: Setup Environment
run: |
Expand Down Expand Up @@ -142,13 +140,9 @@ jobs:

- name: Install laravel/pint
run: php composer.phar require laravel/pint --dev
env:
ENABLE_CONFIG_CACHE: false

- name: Install composer dependencies
run: php composer.phar install --no-interaction --prefer-dist
env:
ENABLE_CONFIG_CACHE: false

# - name: Run laravel/pint
# run: ./vendor/bin/pint --test
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ USER ${RUNTIME_UID}:${RUNTIME_GID}

# Generate optimized autoloader now that we have all files around
RUN set -ex \
&& ENABLE_CONFIG_CACHE=false composer dump-autoload --optimize
&& composer dump-autoload --optimize

USER root

Expand Down

0 comments on commit 3ecf62c

Please sign in to comment.