archinstall/.github/workflows/mypy.yaml

16 lines
540 B
YAML

on: [ push, pull_request ]
name: mypy type checking
jobs:
mypy:
runs-on: ubuntu-latest
container:
image: archlinux:latest
steps:
- uses: actions/checkout@v2
- run: pacman --noconfirm -Syu python mypy python-pip
- run: python -m pip install --upgrade pip
- run: pip install fastapi pydantic
- run: python --version
- run: mypy --version
- name: run mypy
run: mypy --strict --module archinstall || exit 0