diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml new file mode 100644 index 0000000..5cd34db --- /dev/null +++ b/.github/workflows/workflow.yml @@ -0,0 +1,22 @@ +name: build + +on: + - pull_request + - push + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v2 + - name: Install OS packages + run: sudo apt-get update && sudo apt-get install -yq python3 python3-pip libenchant-2-dev aspell-en + - name: Install Python packages + run: pip install -r requirements.txt + - name: Run spellcheck + run: pushd docs && make spell && popd + - name: Build HTML + run: pushd docs && make html && popd diff --git a/README.md b/README.md index a7210cf..1bd0157 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # Scilla Docs +![](https://github.com/Zilliqa/scilla-docs/workflows/build/badge.svg) + Scilla short for Smart Contract Intermediate-Level LAnguage is a smart contract language being developed for Zilliqa.