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:
jwinterm
2026-08-21 05:25:36 -04:00
parent a144d037d5
commit d19e52d308
+6
View File
@@ -82,6 +82,12 @@ jobs:
flutter pub get
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)
run: flutter analyze lib --no-fatal-infos --no-fatal-warnings