Bump Python to 3.13.2 #519
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 | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
- 'release/*' | |
workflow_dispatch: | |
# Cancel previous running jobs on the same branch in case of new pushes | |
concurrency: | |
group: mypy-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
mypy: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
strategy: | |
matrix: | |
venue: | |
[ | |
template, | |
ribbon, | |
thetanuts | |
] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
- name: Install MyPy | |
run: | | |
pip install mypy | |
pip install . ./template | |
- name: Run MyPy | |
if: always() | |
run: mypy ${{ matrix.venue }} --exclude abis --exclude tests |