Update README.md #26
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: Python application | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.12 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.12' | |
- uses: yezz123/setup-uv@v4 | |
- name: Setup uv venv | |
run: | | |
uv sync | |
uv pip install . | |
- name: Lint with ruff | |
run: | | |
uv run ruff check ttcli/ | |
- name: Type check with mypy | |
run: | | |
uv run mypy -p ttcli |