Skip to content

Bump mypy from 1.13.0 to 1.14.0 #146

Bump mypy from 1.13.0 to 1.14.0

Bump mypy from 1.13.0 to 1.14.0 #146

Workflow file for this run

---
name: CI
on:
push:
branches:
- "main"
pull_request:
jobs:
format:
name: Ensure code is properly formatted
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.x'
- uses: actions/cache@v4
with:
path: ~/.cache/pypoetry/virtualenvs
key: poetry-${{ hashFiles('poetry.lock') }}
- run: pip install --user --upgrade poetry
- run: poetry install
- run: poetry run black --check --diff .
lint:
name: Lint the source code
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.x'
- uses: actions/cache@v4
with:
path: ~/.cache/pypoetry/virtualenvs
key: poetry-${{ hashFiles('poetry.lock') }}
- run: pip install --user --upgrade poetry
- run: poetry install
- run: poetry run mypy --strict .