plus_plugins icon indicating copy to clipboard operation
plus_plugins copied to clipboard

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

Open vbuberen opened this issue 1 year ago • 0 comments

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 avatar Aug 13 '24 12:08 vbuberen