ramsey / composer-install

:gift: A GitHub Action to streamline installation of PHP dependencies with Composer.
MIT License
233 stars 32 forks source link

Add `retries:` input #231

Open szepeviktor opened 2 years ago

szepeviktor commented 2 years ago

Many people wrap composer update innick-invision/retry.

It would be nice to add a retries: input with default 0. Thank you for considering!

ramsey commented 2 years ago

That sounds okay to me. What are some reasons for failures, though? It'd be nice to fix those.

szepeviktor commented 2 years ago

What are some reasons for failures, though?

This is a very simple question :)

  1. Composer tool's low code quality
  2. Packagist's low code quality
  3. Packagist (repo.packagist.org) is hosted by OVH (a French company with outstanding problems)

And of course general network problems. E.g. GitHub Actions is operated by Microsoft.