Skip to content

Commit 419d12b

Browse files
committed
ci: add more actions
Signed-off-by: Shengqi Chen <[email protected]>
1 parent 2e28a2d commit 419d12b

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

.github/workflows/test.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,16 @@ jobs:
2121
- run: dart format --output=none --set-exit-if-changed .
2222
- run: dart analyze
2323
- run: dart test
24+
- run: dart doc
25+
- name: Upload generated dartdoc
26+
uses: actions/upload-artifact@v4
27+
with:
28+
name: docs-${{ matrix.sdk }}
29+
path: doc/
30+
- name: Evaluate score with pana
31+
run: |
32+
dart pub global activate pana
33+
dart pub global run pana .
2434
- name: Run example code
2535
run: |
2636
cd example

example/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ homepage: https://github.com/nfcim/ndef
55
publish_to: none
66

77
environment:
8-
sdk: ">=2.12.0 <3.0.0"
8+
sdk: ">=3.0.0 <4.0.0"
99

1010
dependencies:
1111
ndef:

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version: 0.3.5
44
homepage: https://github.com/nfcim/ndef
55

66
environment:
7-
sdk: ">=2.12.0 <4.0.0"
7+
sdk: ">=3.0.0 <4.0.0"
88

99
dependencies:
1010
uuid: ^4.1.0

0 commit comments

Comments
 (0)