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

change composer action for deployment workflows #226

Merged
merged 1 commit into from
Jul 24, 2021

Conversation

stklcode
Copy link
Contributor

The previous composer action adds some extra files to the project root. This PR resolves #218.

Those can be ignored, but the action used for testing is fast and allows to specify the exact PHP version whereas the composer action uses the latest stable (we stumbled upon this in other projects).

The shivammathur/setup-php@v2 version has proven to work since #217, so why not use the same workflow in all 3 recipes...

The previous composer action adds some extra files to the project root.
Those can be ignored, but the action used for testing is fast and allows
to specify the exact PHP version whereas the composer action uses the
latest stable.
@stklcode stklcode added the bug label Apr 20, 2021
@stklcode stklcode added this to the 2.3.2 milestone Apr 20, 2021
@stklcode stklcode changed the title change composer action for deployment actions change composer action for deployment workflows Apr 20, 2021
@Zodiac1978
Copy link
Member

Can anyone with composer knowledge/opinion help here? @pfefferle, @2ndkauboy , @florianbrinkmann or @patrickrobrecht ? If a second pair of eyes had a look I can merge this.

@pfefferle
Copy link
Member

What about downloading the required composer as phar version?

@pfefferle
Copy link
Member

And/or it seems possible to downgrade composer with for example composer self-update 1.4.1 to any version.

@stklcode
Copy link
Contributor Author

stklcode commented Jul 21, 2021

The action in use is capable of doing that, if necessary (docs)

Just use tools: composer:v2, tools: composer:2.1.3 or similar instead of tools: composer.

Copy link
Member

@patrickrobrecht patrickrobrecht left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@patrickrobrecht patrickrobrecht merged commit d1ec5fe into develop Jul 24, 2021
@patrickrobrecht patrickrobrecht deleted the fix/deploy-action branch July 24, 2021 17:11
stklcode added a commit that referenced this pull request Oct 28, 2021
The previous composer action adds some extra files to the project root. Those can be ignored, but the action used for testing is fast and allows to specify the exact PHP version whereas the composer action uses the latest stable.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 unnecessary files
4 participants