Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/.github/workflows/mypy.yaml
blob: 39306cd60d3af34c99b328ec3fbf4ea64cf13878 (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/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