Move sql logic into utility classes #7
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: Style | |
on: | |
pull_request: | |
branches: [ main ] | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
# setup the repository | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v4 | |
with: | |
cache: 'pip' | |
- run: | | |
python -m venv .venv | |
source .venv/bin/activate | |
pip install uv | |
uv pip compile --extra=dev pyproject.toml -o requirements.txt | |
uv pip sync requirements.txt | |
- run: echo "$PWD/.venv/bin" >> $GITHUB_PATH | |
# linting | |
- uses: chartboost/ruff-action@v1 | |
# type checking | |
- uses: jakebailey/pyright-action@v2 | |
with: | |
pylance-version: latest-release |