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

Groom GitHub CI and move some checks from TravisCI to GitHub CI #5305

Merged
merged 1 commit into from
Nov 29, 2020

Conversation

keradus
Copy link
Member

@keradus keradus commented Nov 29, 2020

No description provided.

@keradus keradus added this to the 2.16.8 milestone Nov 29, 2020
@@ -54,6 +57,7 @@ jobs:
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
coverage: none
Copy link
Member Author

@keradus keradus Nov 29, 2020

Choose a reason for hiding this comment

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

(look at timing)

Before:
Screenshot from 2020-11-29 02-36-36

After
Screenshot from 2020-11-29 02-52-08

@keradus keradus changed the title Groom GitHub CI Groom GitHub CI and move some checks from TravisCI to GitHub CI Nov 29, 2020
@keradus keradus marked this pull request as ready for review November 29, 2020 03:22
- name: Configure Symfony Flex
run: |
composer config extra.symfony.require ${{ matrix.execute-flex-with-symfony-version }}
if: "matrix.execute-flex-with-symfony-version"
Copy link
Contributor

Choose a reason for hiding this comment

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

What do you think if if: would go before run:?

Copy link
Member Author

Choose a reason for hiding this comment

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

No preference

Copy link
Contributor

@sanmai sanmai left a comment

Choose a reason for hiding this comment

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

Looks pretty solid to me.

@@ -78,13 +100,18 @@ jobs:
retry_wait_seconds: 30
command: |
composer update --optimize-autoloader --no-interaction --no-progress ${{ matrix.composer-flags }}
composer info -D | sort
Copy link
Member

Choose a reason for hiding this comment

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

This is redundant with output of composer update.

Copy link
Member Author

Choose a reason for hiding this comment

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

I find -D and sort useful
actually even more useful than output of update. maybe let's use update -q ?

Copy link
Member

Choose a reason for hiding this comment

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

That would leave us with less information than actually provided.

Copy link
Member Author

Choose a reason for hiding this comment

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

so... maybe let's keep both?

Copy link
Member Author

Choose a reason for hiding this comment

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

let's merge as-is and we can always adjust later ;)

@keradus keradus merged commit a0a18a7 into PHP-CS-Fixer:2.16 Nov 29, 2020
@keradus keradus deleted the ci_update2 branch November 29, 2020 23:39
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.

None yet

3 participants