fluttercommunity / fluttercommunity/plus_plugins
[Request]: Add dependencies versions downgrade into CI/CD pipelines
- Dominant language
- Dart
- Stars
- 1.9k
- Forks
- 1.3k
- PR merge metrics
- No merged PRs in 30d
Description
### Plugin
All
### Use case
After a recent release of plugins I saw on [the plugin's score page](https://pub.dev/packages/network_info_plus/score) 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`](https://pub.dev/packages/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
Contributor guide
Assessment
This issue has not been assessed yet.