Rename translation-check.yaml to bc1qgdjqv0av3q56jvd82tkdjpy7gdp9ut8t… #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |