From d19e52d30807fcfe69866e83bc796748eda98593 Mon Sep 17 00:00:00 2001 From: jwinterm Date: Fri, 21 Aug 2026 05:25:36 -0400 Subject: [PATCH] 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. --- .github/workflows/test.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2d0b67463..b02f89369 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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