mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-17 05:41:29 +02:00
ci(test): generate models and localization before analyzing
generated/i18n.dart and several .g.dart parts are untracked generation outputs too; without them a fresh checkout analyzes with thousands of undefined_identifier errors. Run model_generator.sh and generate_localization exactly as the build lanes do.
This commit is contained in:
@@ -82,6 +82,12 @@ jobs:
|
|||||||
flutter pub get
|
flutter pub get
|
||||||
dart run tool/generate_new_secrets.dart
|
dart run tool/generate_new_secrets.dart
|
||||||
|
|
||||||
|
- name: Generate models and localization
|
||||||
|
run: |
|
||||||
|
set -e
|
||||||
|
bash model_generator.sh
|
||||||
|
dart run tool/generate_localization.dart
|
||||||
|
|
||||||
- name: flutter analyze (errors are fatal, existing warnings are not)
|
- name: flutter analyze (errors are fatal, existing warnings are not)
|
||||||
run: flutter analyze lib --no-fatal-infos --no-fatal-warnings
|
run: flutter analyze lib --no-fatal-infos --no-fatal-warnings
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user