File tree Expand file tree Collapse file tree 6 files changed +66
-1
lines changed Expand file tree Collapse file tree 6 files changed +66
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Publish plugin
2+
3+ on :
4+ release :
5+ types : [published]
6+
7+ jobs :
8+ build :
9+ runs-on : ubuntu-latest
10+ steps :
11+ - uses : actions/checkout@v2
12+ - name : Install Flutter
13+ uses : subosito/flutter-action@v2
14+ with :
15+ channel : " stable"
16+ - name : Install project dependencies
17+ run : flutter pub get
18+ - name : Dart Format Check
19+ run : dart format lib/ test/ --set-exit-if-changed
20+ - name : Import Sorter Check
21+ run : flutter pub run import_sorter:main --no-comments --exit-if-changed
22+ - name : Dart Analyze Check
23+ run : flutter analyze
24+ - name : Dart Test Check
25+ run : flutter test
26+ # - name: Check Publish Warnings
27+ # run: dart pub publish --dry-run
28+ - name : Publish
29+ 30+ with :
31+ credentialJson : ${{ secrets.CREDENTIAL_JSON }}
32+ flutter : true
33+ skipTests : true
34+ force : true
Original file line number Diff line number Diff line change 1+ name : Push To Master
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+
8+ jobs :
9+ build :
10+ name : Build Checks
11+ runs-on : ubuntu-latest
12+ steps :
13+ - uses : actions/checkout@v2
14+ - name : Install Flutter
15+ uses : subosito/flutter-action@v2
16+ with :
17+ channel : " stable"
18+ - name : Install project dependencies
19+ run : flutter pub get
20+ - name : Dart Format Check
21+ run : dart format lib/ test/ --set-exit-if-changed
22+ - name : Import Sorter Check
23+ run : flutter pub run import_sorter:main --no-comments --exit-if-changed
24+ - name : Dart Analyze Check
25+ run : flutter analyze
26+ - name : Dart Test Check
27+ run : flutter test
28+
29+
Original file line number Diff line number Diff line change 11import 'package:callkeep/src/call.dart' ;
2-
32import 'event.dart' ;
43
54class CallKeepDidReceiveStartCallAction extends EventType {
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ import 'dart:async';
22import 'dart:io' ;
33
44import 'package:flutter/services.dart' ;
5+
56import 'package:logger/logger.dart' ;
67
78import 'actions.dart' ;
Original file line number Diff line number Diff line change 11import 'package:flutter/cupertino.dart' ;
2+
23import 'package:logger/web.dart' ;
34
45abstract class EventType {
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ dependencies:
1717dev_dependencies :
1818 flutter_test :
1919 sdk : flutter
20+ import_sorter : ^4.6.0
2021
2122flutter :
2223 plugin :
You can’t perform that action at this time.
0 commit comments