nbody/.forgejo/workflows/lint.yaml
Michael Bradley a4e68e34b0
Some checks failed
Lint / MyPy (push) Failing after 33s
Try using setup-python
2025-02-23 07:11:58 -05:00

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