21 lines
454 B
YAML
21 lines
454 B
YAML
---
|
|
on: [push]
|
|
|
|
name: Lint
|
|
|
|
jobs:
|
|
lint:
|
|
name: MyPy
|
|
runs-on: ubuntu-22.04
|
|
steps:
|
|
- name: Checkout the code
|
|
uses: actions/checkout@v4
|
|
- name: Set up the Python toolchain
|
|
uses: actions/setup-python@v5
|
|
with:
|
|
python-version: "3.13"
|
|
cache: pip
|
|
- name: Set up the Python environment
|
|
run: pip install -r requirements.txt
|
|
- name: Type-check the code
|
|
run: mypy *.py
|