Update min required Python version (#60) #66
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: Check types | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
# The branches below must be a subset of the branches above | |
branches: [ main ] | |
jobs: | |
build-n-publish: | |
name: Mypy | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@master | |
- name: Set up Python 3.11 | |
uses: actions/setup-python@v1 | |
with: | |
python-version: "3.11" | |
- name: Install mypy and toshiba-ac | |
run: | | |
ls -alh | |
pwd | |
pip install --user wheel | |
pip install --user mypy==1.11.1 | |
pip install --user -e . | |
- name: Check types | |
run: mypy . |