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

Ensure a stable composer release is used #142

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

mclaurent
Copy link

The Composer runner is downloading the snapshot release of composer. Should it not be using the stable release?
Currently Composer is on version 1.x but 2.x is being worked on.

Using the snapshot version means that composer will rely on unstable dependencies, i.e. composer-plugin-api. When building a project on the current composer 1.x it will build using composer-plugin-api 1.x. When this runner is used it will use composer-plugin-api 2.x which is unstable, and will likely fail as other stable plugins are not be compatible.

This PR ensures a stable composer is downloaded.

See the Composer download page here: https://getcomposer.org/download/

Thx

Composer recommend we use composer-stable.phar for stable versions, not composer.phar.
Composer recommend we use composer-stable for a stable release.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant