Skip to content

Update to Python 3.12 (#7) #46

Update to Python 3.12 (#7)

Update to Python 3.12 (#7) #46

Workflow file for this run

name: Lint
on:
push:
pull_request:
workflow_dispatch:
env:
PYTHON_VERSION: '3.12.4'
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Poetry
shell: bash
run: pipx install poetry
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "${{ env.PYTHON_VERSION }}"
cache: 'poetry'
- name: Install Dependencies
shell: bash
run: poetry install
- name: Run ruff check
shell: bash
run: poetry run ruff check
- name: Run mypy
shell: bash
run: poetry run mypy .