File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -36,14 +36,22 @@ jobs:
36
36
37
37
- name : Install dependencies
38
38
run : flutter pub get
39
+
40
+ - name : Run l10n
41
+ run : flutter gen-l10n
42
+
39
43
- name : Format code
40
44
run : dart format --set-exit-if-changed $(find . -name "*.dart" -not -wholename "./lib/localization/intl/*")
45
+
41
46
- name : Analyze static code
42
47
run : flutter analyze
48
+
43
49
- name : Run tests
44
50
run : flutter test
51
+
45
52
- name : Check publish warnings
46
53
run : dart pub publish --dry-run
54
+
47
55
- name : Build example
48
56
run : |
49
57
cd example
@@ -68,13 +76,19 @@ jobs:
68
76
runs-on : ubuntu-latest
69
77
steps :
70
78
- uses : actions/checkout@v4
79
+
71
80
- uses : dart-lang/setup-dart@v1
81
+
72
82
- name : Flutter action
73
83
uses : subosito/flutter-action@v2
74
84
with :
75
85
channel : ' stable'
76
86
# use the build-in cache from Subosito
77
87
cache : true
88
+
89
+ - name : Run l10n
90
+ run : flutter gen-l10n
91
+
78
92
- name : Publish package
79
93
run : dart pub publish -v -f
80
94
You can’t perform that action at this time.
0 commit comments