diff --git a/.github/workflows/gh-pages.yaml b/.github/workflows/gh-pages.yaml index 11d13340fa..6ff6441015 100644 --- a/.github/workflows/gh-pages.yaml +++ b/.github/workflows/gh-pages.yaml @@ -56,7 +56,7 @@ jobs: flutter config --enable-web flutter clean flutter pub get - flutter pub run build_runner build --delete-conflicting-outputs + flutter pub run build_runner build --delete-conflicting-outputs flutter pub get flutter build web --release --verbose --source-maps --base-href="/${GITHUB_REPOSITORY##*/}/$FOLDER/" echo "$TWAKE_PREVIEW_CONFIG" | yq '.issue_id = strenv(FOLDER)' > ./build/web/config.json diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 79fa19ef15..2bbdd13ba3 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -56,7 +56,7 @@ jobs: - name: Run widget test run: | - flutter pub get && flutter pub run build_runner build --delete-conflicting-outputs + flutter pub get && flutter pub run build_runner build --delete-conflicting-outputs && flutter pub get flutter test # integration_test: diff --git a/scripts/code_analyze.sh b/scripts/code_analyze.sh index 757645616c..9a8066c726 100755 --- a/scripts/code_analyze.sh +++ b/scripts/code_analyze.sh @@ -1,4 +1,4 @@ #!/bin/sh -ve -flutter pub get && flutter pub run build_runner build --delete-conflicting-outputs +flutter pub get && flutter pub run build_runner build --delete-conflicting-outputs && flutter pub get dart format --set-exit-if-changed lib/ test/ flutter analyze