Skip to content

Commit 09f9a0d

Browse files
committed
Run 'dart pub get' before analysis in CI
Adds 'dart pub get' to the CI workflow before running 'dart analyze' for non-tagged builds to ensure dependencies are installed prior to analysis.
1 parent 93bddbf commit 09f9a0d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,7 @@ jobs:
300300
if [[ "$GITHUB_REF" == refs/tags/* ]]; then
301301
dart pub publish --force
302302
else
303+
dart pub get
303304
dart analyze
304305
fi
305306
popd >/dev/null

0 commit comments

Comments
 (0)