Skip to content

Commit cd30fb7

Browse files
authored
Add Flutter SDK
1 parent 2288ce7 commit cd30fb7

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/build.yml

+4-5
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,15 @@ jobs:
1313
steps:
1414
- uses: actions/checkout@v2
1515
- uses: dart-lang/setup-dart@v1
16+
- uses: subosito/flutter-action@v1
17+
with:
18+
channel: 'stable'
1619

1720
- name: Install dependencies
1821
run: flutter pub get
1922

20-
# Consider passing '--fatal-infos' for slightly stricter analysis.
2123
- name: Analyze project source
22-
run: dart analyze --fatal-infos
24+
run: flutter analyze --fatal-infos
2325

24-
# Your project will need to have tests in test/ and a dependency on
25-
# package:test for this step to succeed. Note that Flutter projects will
26-
# want to change this to 'flutter test'.
2726
- name: Run tests
2827
run: flutter test

0 commit comments

Comments
 (0)