Drop Python 3.8 from workflows, run on 3.11 (#3228) #6790
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: Style and type checks | |
on: [push, pull_request] | |
jobs: | |
style-type-checks: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: extractions/setup-just@v1 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.11' | |
- name: Install dependencies | |
run: | | |
pip install . | |
# todo: install also `black[jupyter]` | |
pip install click "black==24.02" "mypy==1.8.0" \ | |
types-python-dateutil types-waitress types-PyYAML | |
- name: Style check | |
run: just black | |
- name: Type check | |
run: just mypy | |
- name: Check license headers | |
run: just license |