Add drawing examples #666
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: Vale | |
on: push | |
jobs: | |
Vale: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v1 | |
with: | |
python-version: '3.8' | |
architecture: x64 | |
- name: Install dependencies | |
run: | | |
sudo apt-get install -y python3-pip python3-setuptools | |
pip install rst2html | |
wget https://github.com/errata-ai/vale/releases/download/v2.15.4/vale_2.15.4_Linux_64-bit.tar.gz | |
mkdir bin && tar -xvzf vale_2.15.4_Linux_64-bit.tar.gz -C bin | |
export PATH="./bin:$PATH" | |
vale -v | |
cd .github/doc | |
bash scripts/get_styles.sh | |
cp styles/GoogleUpdate/* styles/Google/ | |
cd ../.. | |
- name: Lint doc | |
run: | | |
export PATH="./bin:$PATH" | |
vale docs |