[ci] Update repository tooling to 0.9.1 (#2425)
diff --git a/.ci/scripts/prepare_tool.sh b/.ci/scripts/prepare_tool.sh
index 2f3d3c9..fac6c8c 100755
--- a/.ci/scripts/prepare_tool.sh
+++ b/.ci/scripts/prepare_tool.sh
@@ -8,4 +8,4 @@
# Pinned version of the plugin tools, to avoid breakage in this repository
# when pushing updates from flutter/plugins.
-dart pub global activate flutter_plugin_tools 0.8.9
+dart pub global activate flutter_plugin_tools 0.9.1
diff --git a/.cirrus.yml b/.cirrus.yml
index 8fced43..a4262d8 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -111,8 +111,20 @@
env:
CHANNEL: "2.8.1"
DART_VERSION: "2.15.1"
+ package_prep_script:
+ # Allow analyzing packages that use a dev dependency with a higher
+ # minimum Flutter/Dart version than the package itself.
+ - ./script/tool_runner.sh remove-dev-dependencies
analyze_script:
- - ./script/tool_runner.sh analyze --skip-if-not-supporting-flutter-version="$CHANNEL" --skip-if-not-supporting-dart-version="$DART_VERSION" --custom-analysis=script/configs/custom_analysis.yaml
+ - ./script/tool_runner.sh analyze --lib-only --skip-if-not-supporting-flutter-version="$CHANNEL" --skip-if-not-supporting-dart-version="$DART_VERSION" --custom-analysis=script/configs/custom_analysis.yaml
+ # Does a sanity check that packages pass analysis with the lowest possible
+ # versions of all dependencies. This is to catch cases where we add use of
+ # new APIs but forget to update minimum versions of dependencies to where
+ # those APIs are introduced.
+ - name: downgraded_analyze
+ depends_on: format+analyze
+ analyze_script:
+ - ./script/tool_runner.sh analyze --downgrade --custom-analysis=script/configs/custom_analysis.yaml
- name: publishable
env:
# TODO(stuartmorgan): Remove once the fix for https://github.com/dart-lang/pub/issues/3152
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 38f74fa..f9eed92 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -31,7 +31,7 @@
with:
fetch-depth: 0 # Fetch all history so the tool can get all the tags to determine version.
- name: Set up tools
- run: dart pub global activate flutter_plugin_tools 0.8.9
+ run: dart pub global activate flutter_plugin_tools 0.9.1
# # This workflow should be the last to run. So wait for all the other tests to succeed.
- name: Wait on all tests
diff --git a/packages/standard_message_codec/CHANGELOG.md b/packages/standard_message_codec/CHANGELOG.md
index a9888a2..d1108d5 100644
--- a/packages/standard_message_codec/CHANGELOG.md
+++ b/packages/standard_message_codec/CHANGELOG.md
@@ -1,3 +1,7 @@
+## 0.0.1+1
+
+* Fixes minimum version of `test` dependency.
+
## 0.0.1
* Initial release of standard message codec extracted from the Flutter SDK.
diff --git a/packages/standard_message_codec/pubspec.yaml b/packages/standard_message_codec/pubspec.yaml
index bf86f46..dccca1f 100644
--- a/packages/standard_message_codec/pubspec.yaml
+++ b/packages/standard_message_codec/pubspec.yaml
@@ -1,6 +1,6 @@
name: standard_message_codec
description: An efficient and schemaless binary encoding format for Flutter and Dart.
-version: 0.0.1
+version: 0.0.1+1
repository: https://github.com/flutter/packages/tree/main/packages/standard_message_codec
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3Astandard_message_codec
@@ -8,4 +8,4 @@
sdk: '>=2.17.0 <3.0.0'
dev_dependencies:
- test: ^1.11.1
+ test: ^1.16.0