Correct errors and improve validation commands (#72) #228
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: Checks | |
on: push | |
jobs: | |
markdown-link-check: | |
name: All Markdown links are valid | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- uses: gaurav-nelson/github-action-markdown-link-check@1.0.13 | |
check-snippet-compilation: | |
name: All code snippets compile | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Check that all snippets compile | |
run: | | |
pip install pipenv | |
cd scripts | |
pipenv install | |
pipenv run python3 validate_code_snippets.py --project-folder ../ |