fix(orfs): allow updating ORFS platform files from IHP PDK #190
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
name: Mypy Type Checking | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
type-check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.11' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi | |
- name: Install mypy | |
run: | | |
pip install mypy | |
- name: Install type packages | |
run: | | |
yes | mypy . --install-types | |
continue-on-error: true | |
- name: Run mypy | |
run: | | |
mypy cells.py config.py configure.py documentation.py git_utils.py markdown_utils.py project.py rom.py shuttle.py --check-untyped-defs |