emqx/.github/workflows/spelling.yml
Zaiming (Stone) Shi 2d3859a79a build: get full version from pkg-full-vsn.sh
this is due to the mapping of :
centos7 -> el7
and rockylinux8 -> el8

with this fix, there is no need to repeat such mapping
in many differennt places
2022-02-25 11:33:01 +01:00

33 lines
669 B
YAML

name: Spellcheck
on:
workflow_run:
workflows: [Build slim packages]
types:
- completed
jobs:
spellcheck_schema:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
profile:
- emqx-enterprise
otp:
- 24.2.1-1
os:
- ubuntu20.04
steps:
- uses: actions/checkout@v2
- uses: actions/download-artifact@v2
with:
name: ${{ matrix.profile }}-${{ matrix.otp }}-${{ matrix.os }}
workflow: build_slim_packages.yaml
path: .
- name: Run spellcheck
run: |
tar zxf *.tar.gz
find . -name schema.json -exec scripts/spellcheck \{\} \;