-
-
Notifications
You must be signed in to change notification settings - Fork 597
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
Improve CI configuration #619
Improve CI configuration #619
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR looks ok, just one revert IMHO 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
Ah, I think the required checks need to be re-configured for this to be merged 😬 |
These pipelines no longer exist:
These changes are OK, but require @lcobucci to change repo settings before merge |
Thanks folks! I'm taking a break from github and my laptop for a couple of days. Will take a look at it around the weekend. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just some tiny things, thanks for the help @t0mmy742!
@t0mmy742 did you revert the cache optimisation on purpose? I thought the feedback was mostly about the templating. |
@lcobucci I missed something with |
It's alright, happens to everyone 😆 That's why the reflog is there for |
Bumping the minimum to ensure PHP 8.0 compatibility.
Avoiding caching the vendor directory and using the lock file to calculate the hash, according to the best practices of the action we're using. More info: https://github.com/shivammathur/setup-php#cache-composer-dependencies
Adding checks on PHP 8.1 as well.
@t0mmy742 thanks a lot! |
Multiple small things here:
action/cache
from GitHub Actions. We were cachingvendor
directory, which is not really a good practice as mentioned here. Moreover, cache is now detecting changes ofcomposer.lock
, since it used an hash of this file for generating the key.