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

[Request]: Add dependencies versions downgrade into CI/CD pipelines #3178

Open
vbuberen opened this issue Aug 13, 2024 · 0 comments
Open

[Request]: Add dependencies versions downgrade into CI/CD pipelines #3178

vbuberen opened this issue Aug 13, 2024 · 0 comments
Labels
enhancement New feature or request triage

Comments

@vbuberen
Copy link
Collaborator

Plugin

All

Use case

After a recent release of plugins I saw on the plugin's score page on pub.dev that for network_info_plus we might have problems with older versions of win32 dependency, which we allow in pubspec.yaml.

Here is a screenshot to not lose the exact report:
Screenshot 2024-08-13 at 13 21 47

Proposal

To avoid such problems we should add pipeline jobs to validate that everything works fine even with lowest allowed versions of dependencies.
Here is one of suggested ways to test: https://dart.dev/tools/pub/dependencies#test-with-downgraded-dependencies
There is also a Github Action, which uses pana (the analyzer used on pub.dev) and which can help us run the checks on CI if we don't go the manual way: https://github.com/axel-op/dart-package-analyzer

@vbuberen vbuberen added enhancement New feature or request triage labels Aug 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request triage
Projects
None yet
Development

No branches or pull requests

1 participant