plus_plugins
plus_plugins copied to clipboard
[Request]: Add dependencies versions downgrade into CI/CD pipelines
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:
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