Skip to content

Commit 9130224

Browse files
committed
ci: run dart doc and pana before building APK
Signed-off-by: Shengqi Chen <[email protected]>
1 parent dd7519d commit 9130224

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/example-app.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,16 @@ jobs:
3232
- run: flutter pub get
3333
working-directory: example/
3434
#- run: flutter test
35+
- run: dart doc
36+
- name: Upload generated dartdoc
37+
uses: actions/upload-artifact@v4
38+
with:
39+
name: docs
40+
path: doc/
41+
- name: Evaluate score with pana
42+
run: |
43+
dart pub global activate pana
44+
dart pub global run pana .
3545
- run: flutter build apk --${{ matrix.variant }} --verbose
3646
working-directory: example/
3747
- uses: actions/upload-artifact@v5

0 commit comments

Comments
 (0)