Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/.github/workflows/mypy.yaml
blob: 4f4e938c9d0c03edd6869a0f9546d0ef70a56ef5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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