diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 9baf0f27d16..7ab918f973c 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -27,7 +27,9 @@ jobs: ${{ runner.os }}-composer- - name: Install to Composer - run: composer install --no-scripts --no-dev --no-interaction --optimize-autoloader + run: | + sudo composer selfupdate --1 + composer install --no-scripts --no-dev --no-interaction --optimize-autoloader - name: Translate to templates run: php bin/template_jp.php diff --git a/.github/workflows/e2e-test.yml b/.github/workflows/e2e-test.yml index 696272c667b..dfa52e1f453 100644 --- a/.github/workflows/e2e-test.yml +++ b/.github/workflows/e2e-test.yml @@ -75,7 +75,9 @@ jobs: php-version: ${{ matrix.php }} - name: composer install - run: composer install --dev --no-interaction -o --apcu-autoloader + run: | + sudo composer selfupdate --1 + composer install --dev --no-interaction -o --apcu-autoloader - name: Setup to EC-CUBE env: APP_ENV: ${{ matrix.app_env }} diff --git a/.github/workflows/plugin-test.yml b/.github/workflows/plugin-test.yml index 9777dcf5c00..e7cd47d6ff0 100644 --- a/.github/workflows/plugin-test.yml +++ b/.github/workflows/plugin-test.yml @@ -83,7 +83,9 @@ jobs: php-version: ${{ matrix.php }} - name: composer install - run: composer install --dev --no-interaction -o --apcu-autoloader + run: | + sudo composer selfupdate --1 + composer install --dev --no-interaction -o --apcu-autoloader - name: Setup to EC-CUBE env: diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml index a95f4fc2e40..432cd846773 100644 --- a/.github/workflows/unit-test.yml +++ b/.github/workflows/unit-test.yml @@ -72,7 +72,9 @@ jobs: php-version: ${{ matrix.php }} - name: composer install - run: composer install --dev --no-interaction -o --apcu-autoloader + run: | + sudo composer selfupdate --1 + composer install --dev --no-interaction -o --apcu-autoloader - name: Setup EC-CUBE env: