Skip to content

Commit

Permalink
[ci] Update repository tooling to 0.9.1 (flutter#2425)
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartmorgan authored Aug 17, 2022
1 parent bc6061e commit 5d5283e
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .ci/scripts/prepare_tool.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ git fetch origin main

# 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
14 changes: 13 additions & 1 deletion .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,20 @@ task:
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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
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
Expand Down
4 changes: 4 additions & 0 deletions packages/standard_message_codec/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.
4 changes: 2 additions & 2 deletions packages/standard_message_codec/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
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

environment:
sdk: '>=2.17.0 <3.0.0'

dev_dependencies:
test: ^1.11.1
test: ^1.16.0

0 comments on commit 5d5283e

Please sign in to comment.