mirror of
https://github.com/danog/dart-sass.git
synced 2024-11-30 04:39:03 +01:00
Check for dartdoc warnings in GitHub Actions
This commit is contained in:
parent
9f3133a179
commit
e02d8b4794
15
.github/workflows/ci.yml
vendored
15
.github/workflows/ci.yml
vendored
@ -127,10 +127,23 @@ jobs:
|
|||||||
- name: Analyze dart
|
- name: Analyze dart
|
||||||
run: dartanalyzer --fatal-warnings --fatal-infos lib tool test
|
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:
|
sanity_checks:
|
||||||
name: Sanity checks
|
name: Sanity checks
|
||||||
runs-on: ubuntu-latest
|
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'"
|
if: "startsWith(github.ref, 'refs/tags/') && github.repository == 'sass/dart-sass'"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
Loading…
Reference in New Issue
Block a user