| 1 |
--- |
| 2 |
name: Typing |
| 3 |
|
| 4 |
# yamllint disable-line rule:truthy |
| 5 |
on: |
| 6 |
push: |
| 7 |
branches: [main] |
| 8 |
pull_request: |
| 9 |
workflow_dispatch: |
| 10 |
|
| 11 |
env: |
| 12 |
DEFAULT_PYTHON: "3.11" |
| 13 |
|
| 14 |
jobs: |
| 15 |
mypy: |
| 16 |
name: mypy |
| 17 |
runs-on: ubuntu-latest |
| 18 |
steps: |
| 19 |
- name: โคต๏ธ Check out code from GitHub |
| 20 |
uses: actions/[email protected] |
| 21 |
- name: ๐ Set up uv |
| 22 |
uses: astral-sh/[email protected] |
| 23 |
- name: ๐ Set up Python ${{ env.DEFAULT_PYTHON }} |
| 24 |
id: python |
| 25 |
uses: actions/[email protected] |
| 26 |
with: |
| 27 |
python-version: ${{ env.DEFAULT_PYTHON }} |
| 28 |
- name: ๐ Install dependencies |
| 29 |
run: uv sync |
| 30 |
- name: ๐ Run mypy |
| 31 |
run: uv run mypy aiotankerkoenig |