Add Swift SDK docs #4525
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint | |
on: | |
pull_request: | |
branches: | |
- main | |
- mainnet | |
push: | |
branches: | |
- main | |
- mainnet | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
container: sphinxdoc/sphinx | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/checkout@v3.3.0 | |
with: | |
persist-credentials: false | |
- name: Install 🔧 | |
shell: bash | |
run: | | |
apt-get update | |
apt-get install -y graphviz git rsync | |
pip3 install pipenv | |
pipenv sync --dev | |
- name: Lint 🔍 | |
shell: bash | |
run: pipenv run doc8 source | |
build: | |
runs-on: ubuntu-latest | |
container: sphinxdoc/sphinx | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/checkout@v2.3.1 | |
with: | |
persist-credentials: false | |
- name: Install 🔧 | |
shell: bash | |
run: | | |
apt-get update | |
apt-get install -y graphviz git rsync | |
pip3 install pipenv | |
pipenv sync | |
- name: Build 🛠 | |
shell: bash | |
run: pipenv run ./scripts/build.sh |