Skip to content

Commit

Permalink
Check for dartdoc warnings in GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
nex3 committed Jul 30, 2021
1 parent 9f3133a commit e02d8b4
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/ci.yml
Expand Up @@ -127,10 +127,23 @@ jobs:
- name: Analyze dart
run: dartanalyzer --fatal-warnings --fatal-infos lib tool test

dartdoc:
name: Dartdoc
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: dart-lang/setup-dart@v1
- run: dart pub get
- name: Run dartdoc
run: dartdoc --quiet --no-generate-docs
--errors ambiguous-doc-reference,broken-link,deprecated
--errors unknown-directive,unknown-macro,unresolved-doc-reference

sanity_checks:
name: Sanity checks
runs-on: ubuntu-latest
needs: [sass_spec, dart_tests, node_tests, static_analysis]
needs: [sass_spec, dart_tests, node_tests, static_analysis, dartdoc]
if: "startsWith(github.ref, 'refs/tags/') && github.repository == 'sass/dart-sass'"

steps:
Expand Down

0 comments on commit e02d8b4

Please sign in to comment.