fluttercommunity / fluttercommunity/plus_plugins

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

Open
#3,178 0 comments 1 reaction 0 assignees View on GitHub
enhancement triage
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:
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`](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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.