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

[2.x] Updated actions config #108

Merged
merged 2 commits into from
Jul 6, 2020
Merged

[2.x] Updated actions config #108

merged 2 commits into from
Jul 6, 2020

Conversation

GrahamCampbell
Copy link
Member

To be the same as the framework repos.

run: composer require "illuminate/contracts=${{ matrix.laravel }}" --prefer-dist --no-interaction
run: |
composer require "illuminate/contracts=${{ matrix.laravel }}" --no-update
composer update --prefer-dist --no-interaction --no-progress
Copy link
Member

Choose a reason for hiding this comment

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

This isn't necessary for this repo. Can you revert this?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, this is necessary, and I can't revert. See the first commit I tried where the tests failed.

@driesvints
Copy link
Member

I think it's best that we wait until a stable composer 2 version lands and becomes the new default. Otherwise we'll be update all repos again soon to remove the "2" indicator. Tests are running fast enough for now.

@GrahamCampbell
Copy link
Member Author

I think it's best that we wait until a stable composer 2 version lands and becomes the new default. Otherwise we'll be update all repos again soon to remove the "2" indicator. Tests are running fast enough for now.

Actually, the tests will break when composer 2 becomes the default (because of the changes needed to the install step), so this PR is a proactive fix.

@driesvints
Copy link
Member

@GrahamCampbell so composer 2 will break all apps/servers that auto update composer?

@GrahamCampbell
Copy link
Member Author

No. Most apps don't do a require without there already being a lock file present. That is what is not supported. You must ask for either no-update, or already have a lock file.

@GrahamCampbell
Copy link
Member Author

What I am talking about is this:

image

@driesvints
Copy link
Member

Gotcha. I'll try to look into this some more next week.

@GrahamCampbell
Copy link
Member Author

Perfect. :)

@taylorotwell taylorotwell merged commit 4dff861 into 2.x Jul 6, 2020
@driesvints driesvints deleted the actions branch July 6, 2020 15:23
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.

3 participants