ci: run spellcheck 0.4.0
This commit is contained in:
parent
d6bd1555ec
commit
d4e8a5377c
|
@ -80,7 +80,9 @@ jobs:
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: "${{ matrix.profile }}_schema_dump"
|
name: "${{ matrix.profile }}_schema_dump"
|
||||||
path: _build/*/lib/emqx_dashboard/priv/www/static/schema.json
|
path: |
|
||||||
|
scripts/spellcheck
|
||||||
|
_build/${{ matrix.profile }}/lib/emqx_dashboard/priv/www/static/schema.json
|
||||||
|
|
||||||
windows:
|
windows:
|
||||||
runs-on: windows-2019
|
runs-on: windows-2019
|
||||||
|
@ -205,7 +207,6 @@ jobs:
|
||||||
- emqx
|
- emqx
|
||||||
- emqx-enterprise
|
- emqx-enterprise
|
||||||
runs-on: aws-amd64
|
runs-on: aws-amd64
|
||||||
container: "ghcr.io/emqx/emqx-schema-validate:0.3.3"
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/download-artifact@v2
|
- uses: actions/download-artifact@v2
|
||||||
name: Download schema dump
|
name: Download schema dump
|
||||||
|
@ -214,9 +215,7 @@ jobs:
|
||||||
path: /tmp/
|
path: /tmp/
|
||||||
- name: Run spellcheck
|
- name: Run spellcheck
|
||||||
run: |
|
run: |
|
||||||
cd /LanguageTool
|
bash /tmp/scripts/spellcheck/spellcheck.sh /tmp/_build/${{ matrix.profile }}/lib/emqx_dashboard/priv/www/static/schema.json
|
||||||
bash start.sh > /dev/null &
|
|
||||||
./emqx_schema_validate /tmp/${{ matrix.profile }}/lib/emqx_dashboard/priv/www/static/schema.json
|
|
||||||
|
|
||||||
allgood_packaging:
|
allgood_packaging:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
Loading…
Reference in New Issue