Skip to content

Commit 4cd97e1

Browse files
committed
update CI
1 parent b2fe422 commit 4cd97e1

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

.github/workflows/dart.yml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,19 @@ jobs:
1717

1818
steps:
1919
- uses: actions/checkout@v3
20-
21-
# Note: This workflow uses the latest stable version of the Dart SDK.
22-
# You can specify other versions if desired, see documentation here:
23-
# https://github.com/dart-lang/setup-dart/blob/main/README.md
24-
# - uses: dart-lang/setup-dart@v1
25-
- uses: dart-lang/setup-dart@9a04e6d73cca37bd455e0608d7e5092f881fd603
20+
# The flutter action needs java so include it
21+
- uses: actions/setup-java@v1
22+
with:
23+
java-version: '12.x'
24+
# Include the flutter action
25+
- uses: dart-lang/setup-dart@1
26+
- uses: subosito/flutter-action@v1
27+
with:
28+
channel: 'stable'
2629

2730
- name: Install dependencies
28-
run: dart pub get
31+
run: flutter doctor
32+
run: flutter pub get
2933

3034
# Uncomment this step to verify the use of 'dart format' on each commit.
3135
# - name: Verify formatting

0 commit comments

Comments
 (0)