This repository has been archived by the owner on Jul 31, 2023. It is now read-only.
Merge pull request #32 from manics/2023-june-meeting #132
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: Build | |
on: | |
push: | |
pull_request: | |
jobs: | |
# https://github.com/pre-commit/action | |
pre-commit: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
- uses: pre-commit/[email protected] | |
build: | |
name: Build docs | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
cache: pip | |
cache-dependency-path: "**/requirements.txt" | |
- name: Install dependencies | |
run: python -m pip install -r docs/requirements.txt | |
- name: Build docs | |
run: | | |
cd docs | |
make html | |
- name: Link check | |
run: | | |
cd docs | |
make linkcheck |