Skip to content

chore(deps): update actions/setup-python action to v6 #21

chore(deps): update actions/setup-python action to v6

chore(deps): update actions/setup-python action to v6 #21

Workflow file for this run

name: Format & Lint Python Code
on: [ push ]
jobs:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ "3.11", "3.12", "3.13" ]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade black mypy
- name: Check code formatting with black
run: |
python -m black --check .
- name: Install mypy types
run: |
python -m mypy --install-types --non-interactive .
- name: Check typing with mypy
run: |
python -m mypy --strict .