|
@@ -3,14 +3,13 @@
|
|
# separate terms of service, privacy policy, and support
|
|
# separate terms of service, privacy policy, and support
|
|
# documentation.
|
|
# documentation.
|
|
|
|
|
|
-name: Frontend_Dart
|
|
|
|
|
|
+name: DartLint
|
|
|
|
|
|
on:
|
|
on:
|
|
push:
|
|
push:
|
|
branches: [ main ]
|
|
branches: [ main ]
|
|
pull_request:
|
|
pull_request:
|
|
branches: [ main ]
|
|
branches: [ main ]
|
|
-
|
|
|
|
|
|
|
|
|
|
|
|
env:
|
|
env:
|
|
@@ -26,10 +25,11 @@ jobs:
|
|
- uses: subosito/flutter-action@v1
|
|
- uses: subosito/flutter-action@v1
|
|
with:
|
|
with:
|
|
channel: "dev"
|
|
channel: "dev"
|
|
- - name: flutter pub get
|
|
|
|
|
|
+ - name: Generate language files
|
|
working-directory: frontend/app_flowy
|
|
working-directory: frontend/app_flowy
|
|
run:
|
|
run:
|
|
flutter pub get
|
|
flutter pub get
|
|
|
|
+ flutter pub add easy_localization
|
|
flutter pub run easy_localization:generate -S assets/translations/
|
|
flutter pub run easy_localization:generate -S assets/translations/
|
|
flutter pub run easy_localization:generate -f keys -o locale_keys.g.dart -S assets/translations -s en.json
|
|
flutter pub run easy_localization:generate -f keys -o locale_keys.g.dart -S assets/translations -s en.json
|
|
- name: flutter analyze
|
|
- name: flutter analyze
|