Skip to content

Commit f3a1bc1

Browse files
ci: update config pipeline
1 parent 0cb2357 commit f3a1bc1

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/base.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@ jobs:
2323
with:
2424
paths: "**/*.md"
2525

26+
- name: Setup Java
27+
uses: actions/setup-java@v2
28+
with:
29+
distribution: 'zulu'
30+
java-version: '11'
31+
2632
- name: Flutter action
2733
uses: subosito/flutter-action@v2
2834
with:
@@ -31,7 +37,7 @@ jobs:
3137
- name: Install dependencies
3238
run: flutter pub get
3339
- name: Format code
34-
run: flutter format --dry-run --set-exit-if-changed .
40+
run: dart format --set-exit-if-changed .
3541
- name: Analyze static code
3642
run: flutter analyze
3743
- name: Run tests

0 commit comments

Comments
 (0)