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

feat: package file validation #155

Merged
merged 1 commit into from Mar 20, 2024
Merged

feat: package file validation #155

merged 1 commit into from Mar 20, 2024

Conversation

agaffney
Copy link
Contributor

Fixes #135

),
)
if err := pm.ValidatePackages(); err != nil {
slog.Error("problems were found")
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we want to bring up problems?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The problems found will be displayed as they are encountered in the validation process, but they display as warnings. This just gives an explicit failure at the end

@agaffney agaffney merged commit c5a4717 into main Mar 20, 2024
8 checks passed
@agaffney agaffney deleted the feat/package-validate branch March 20, 2024 13:06
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.

Validation of package in CI
3 participants