Version v1.7 #12
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
# build docs from docstrings and markdown-file in folder docs | |
# publish them as github pages | |
# | |
#note for myself | |
# | |
# Do not forget to set git branch `gh-pages` as source for github pages. | |
# This branch auto-updated by `mkdocs gh-deploy` | |
# | |
name: static source code checks | |
on: | |
push: | |
branches: | |
- main | |
- master | |
jobs: | |
deploy: | |
env: | |
PRIMARY_PYTHON_VERSION: '3.12' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ env.PRIMARY_PYTHON_VERSION }} | |
- uses: andgineer/uv-venv@v1 | |
- run: | | |
uv pip install pip -r requirements.dev.txt | |
pre-commit run --verbose --all-files |