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

Validate composer.json as part of CI workflows #1636

Merged
merged 4 commits into from
Sep 9, 2024

Conversation

alcaeus
Copy link
Member

@alcaeus alcaeus commented Sep 9, 2024

Based on #1624 (comment), this PR introduces a GitHub Actions Workflow to validate composer.json and ensure it will work. Based on that validation, I've added the missing description field, making it as minimalist as that of PHPLIB.

@alcaeus alcaeus requested a review from jmikola September 9, 2024 06:21
@alcaeus alcaeus self-assigned this Sep 9, 2024
Copy link
Member

@GromNaN GromNaN left a comment

Choose a reason for hiding this comment

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

LGTM.

You can fix the missing newline at EOF.

.github/workflows/composer-validate.yml Outdated Show resolved Hide resolved
@alcaeus alcaeus removed the request for review from jmikola September 9, 2024 11:58
@alcaeus alcaeus merged commit f9fdbc4 into mongodb:v1.20 Sep 9, 2024
82 checks passed
@alcaeus alcaeus deleted the composer-validate branch September 9, 2024 11:58
@@ -0,0 +1,30 @@
name: "Check validity of composer.json"
Copy link
Member

Choose a reason for hiding this comment

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

@alcaeus: I assume this was done for the PIE package, but did you plan to copy this workflow to PHPLIB as well?

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 was done to make sure we're alerted to changes to the pie schema, especially as it may change during the development process. I can copy the workflow over to PHPLIB 👍

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