@@ -40,14 +40,32 @@ jobs:
|
|||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: "Install Flutter"
|
- name: "Install Flutter"
|
||||||
uses: subosito/flutter-action@v2
|
uses: subosito/flutter-action@v2
|
||||||
with:
|
with:
|
||||||
cache: true
|
cache: true
|
||||||
flutter-version: ${{ env.flutter_version }}
|
flutter-version: ${{ env.flutter_version }}
|
||||||
|
|
||||||
- name: "Install Tools"
|
- name: "Install Tools"
|
||||||
run: flutter pub global activate melos
|
run: flutter pub global activate melos
|
||||||
|
|
||||||
- name: "Bootstrap Workspace"
|
- name: "Bootstrap Workspace"
|
||||||
run: melos bootstrap --verbose
|
run: melos bootstrap --verbose
|
||||||
- name: "Dart Analyze"
|
|
||||||
run: melos run analyze
|
# Only analyze lib/; non-client code doesn't need to work on
|
||||||
|
# all supported legacy version.
|
||||||
|
- name: "Stream Chat Analyze"
|
||||||
|
run: cd packages/stream_chat/lib && dart analyze --fatal-infos .
|
||||||
|
|
||||||
|
- name: "Stream Chat Flutter Core Analyze"
|
||||||
|
run: cd packages/stream_chat_core/lib && dart analyze --fatal-infos .
|
||||||
|
|
||||||
|
- name: "Stream Chat Flutter Analyze"
|
||||||
|
run: cd packages/stream_chat_flutter/lib && dart analyze --fatal-infos .
|
||||||
|
|
||||||
|
- name: "Stream Chat Persistence Analyze"
|
||||||
|
run: cd packages/stream_chat_persistence/lib && dart analyze --fatal-infos .
|
||||||
|
|
||||||
|
- name: "Stream Chat Localizations Analyze"
|
||||||
|
run: cd packages/stream_chat_localizations/lib && dart analyze --fatal-infos .
|
||||||
@@ -88,7 +88,7 @@ typedef ChannelTapCallback = void Function(Channel, Widget?);
|
|||||||
typedef ChannelInfoCallback = void Function(Channel);
|
typedef ChannelInfoCallback = void Function(Channel);
|
||||||
|
|
||||||
/// {@template channelPreviewBuilder}
|
/// {@template channelPreviewBuilder}
|
||||||
/// Builder used to create a custom [ChannelPreview] for a [Channel]
|
/// Builder used to create a custom ChannelPreview for a [Channel]
|
||||||
/// {@endtemplate}
|
/// {@endtemplate}
|
||||||
@Deprecated('Use StreamChannelListViewIndexedWidgetBuilder instead')
|
@Deprecated('Use StreamChannelListViewIndexedWidgetBuilder instead')
|
||||||
typedef ChannelPreviewBuilder = Widget Function(BuildContext, Channel);
|
typedef ChannelPreviewBuilder = Widget Function(BuildContext, Channel);
|
||||||
|
|||||||
+2
-2
@@ -1,7 +1,7 @@
|
|||||||
name: stream_chat_flutter_workspace
|
name: stream_chat_flutter_workspace
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: '>=2.18.0 <3.0.0'
|
sdk: '>=2.19.0 <4.0.0'
|
||||||
|
|
||||||
dev_dependencies:
|
dev_dependencies:
|
||||||
melos: ^3.0.0
|
melos: ^3.1.0
|
||||||
|
|||||||
Reference in New Issue
Block a user