Skip to content

Commit 1912ff2

Browse files
committed
Install Flutter dependencies even for formatting via Dart
Dart will automatically check and utilize any of the defined analysis_options.yaml configuration settings, and since we use the conventional `package:flutter_lints/flutter.yaml`, if we haven't installed our dependencies, the output will loudly complain about failing to resolve the package.
1 parent 7c71039 commit 1912ff2

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/check-flutter.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ jobs:
1616
channel: stable
1717
flutter-version-file: pubspec.yaml
1818
cache: true
19+
- name: Install dependencies
20+
run: flutter pub get
1921
- name: Check formatting
2022
run: dart format --output=none --set-exit-if-changed .
2123

0 commit comments

Comments
 (0)