plus_plugins icon indicating copy to clipboard operation
plus_plugins copied to clipboard

[Request]: Run flutter analyze workflow in proper scopes and enforce its results

Open vbuberen opened this issue 4 months ago • 0 comments

Plugin

All

Use case

It makes no sense to run analyze on all packages in every PR.

Here is an example where in PR with device_info_plus files changes only I see warnings for another plugin, because the analyze task runs for all plugins: Screenshot 2024-03-30 at 15 13 29

Proposal

Suggest to do multiple changes:

  • Run analyze only in the scope of changed files in PRs.
  • Make analyzer warnings failing the set of CI checks to enforce issues resolutions, instead of catching up with fixes later as we do now.

vbuberen avatar Mar 30 '24 13:03 vbuberen