Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/.github/workflows/mypy.yaml
blob: 902006267ae417cfaf1e669af9487abb3405cf1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
on: [ push, pull_request ]
name: mypy type checking
jobs:
    mypy:
        runs-on: ubuntu-latest
        container:
            image: archlinux:latest
        steps:
            - uses: actions/checkout@v4
            - run: pacman --noconfirm -Syu python mypy python-pip
            - run: pip install --break-system-packages --upgrade pip
            - run: pip install --break-system-packages fastapi pydantic
            - run: python --version
            - run: mypy --version
            # one day this will be enabled
              # run: mypy --strict --module archinstall || exit 0
            - name: run mypy
              run: mypy --config-file pyproject.toml