Skip to content

Commit b62bf05

Browse files
committed
ci: add documentation test
1 parent 9320ff0 commit b62bf05

2 files changed

Lines changed: 32 additions & 0 deletions

File tree

.github/workflows/doc.yaml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Linting
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
11+
jobs:
12+
lint:
13+
name: Doc Check
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- name: 📚 Checkout code
18+
uses: actions/checkout@v3
19+
20+
- name: 🐦 Set up Dart
21+
uses: dart-lang/setup-dart@v1
22+
with:
23+
sdk: stable
24+
25+
- name: 📦 Install dependencies
26+
run: dart pub get
27+
28+
- name: 🔍 Generate Docs
29+
run: dart doc --dry-run
30+

dartdoc_options.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,5 @@ dartdoc:
2929
markdown: lib/src/shared/README.md
3030
categoryOrder: [Shared Primitives, Modules,Presentation Layer, Repositories, Routing, Caching, Persistence, Transactions, Telemetry & Analytics]
3131
showUndocumentedCategories: true
32+
errors:
33+
- unresolved-doc-reference

0 commit comments

Comments
 (0)