Skip to content

Commit 13a41e1

Browse files
authored
Use dart analyze for CI (#259)
* Use dart analyze for CI * Update based on review
1 parent 2095128 commit 13a41e1

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/analyze.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,17 @@ jobs:
99
- uses: actions/checkout@v2
1010
- uses: subosito/flutter-action@v1
1111
with:
12-
flutter-version: "2.5.1"
12+
channel: stable
1313
- name: Install pub dependencies
1414
run: |
1515
for d in `pwd`/packages/*/; do
1616
cd $d
1717
flutter pub get
1818
done
1919
- name: Verify formatting
20-
run: flutter format --set-exit-if-changed packages
21-
- name: Analyze the plugin's Dart code
22-
run: |
23-
cd packages
24-
flutter analyze
20+
run: dart format --output=none --set-exit-if-changed packages
21+
- name: Analyze source code
22+
run: dart analyze --fatal-infos packages
2523
clang:
2624
runs-on: ubuntu-latest
2725
steps:

0 commit comments

Comments
 (0)