File tree Expand file tree Collapse file tree 4 files changed +28
-0
lines changed Expand file tree Collapse file tree 4 files changed +28
-0
lines changed Original file line number Diff line number Diff line change 35
35
36
36
- name : Check
37
37
run : bash contrib/scripts/check-crate.sh
38
+
39
+ check-flutter :
40
+ name : Check flutter
41
+ runs-on : ubuntu-latest
42
+ steps :
43
+ - name : Checkout
44
+ uses : actions/checkout@v3
45
+
46
+ - name : Install Flutter
47
+ uses : subosito/flutter-action@v2
48
+
49
+ - name : Get Flutter deps
50
+ run : flutter pub get
51
+
52
+ - name : Check
53
+ run : bash contrib/scripts/check-flutter.sh
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ set -euo pipefail
4
+
5
+ SCRIPT_DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd) "
6
+ ROOT_DIR=" ${SCRIPT_DIR} /../../"
7
+
8
+ cd " ${ROOT_DIR} "
9
+
10
+ flutter analyze
Original file line number Diff line number Diff line change @@ -6,3 +6,4 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
6
6
7
7
" ${DIR} /check-fmt.sh" check # Check if Rust code is formatted
8
8
" ${DIR} /check-crate.sh" # Check crate
9
+ " ${DIR} /check-flutter.sh" # Check flutter
Original file line number Diff line number Diff line change @@ -6,3 +6,4 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
6
6
7
7
" ${DIR} /check-fmt.sh" # Format the code
8
8
" ${DIR} /check-crate.sh" # Check crate
9
+ " ${DIR} /check-flutter.sh" # Check flutter
You can’t perform that action at this time.
0 commit comments