Skip to content

Commit

Permalink
Change policy for pinning deps (#192)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hixie authored Jan 5, 2023
1 parent c5be256 commit a047b7a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,12 @@ Tests must fulfill the following criteria to be added:
upstream repository should use the `master` channel Flutter SDK.

* Dependencies must be pinned. (Generally, checking in the
`pubspec.lock` file is sufficient for this purpose.)
`pubspec.lock` file is sufficient for this purpose.) However,
please avoid pinning packages such as `intl` that are also pinned
by the Flutter SDK, otherwise when Flutter updates the dependency
the tests will fail. Consider using `any` for the packages that are
pinned by the Flutter framework (that way they are automatically
updated when Flutter updates).


## Running the tests locally
Expand Down

0 comments on commit a047b7a

Please sign in to comment.