Skip to content

Bump actions/checkout from 3 to 4 #209

Bump actions/checkout from 3 to 4

Bump actions/checkout from 3 to 4 #209

Workflow file for this run

name: Lint
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.11"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: pip
cache-dependency-path: requirements-dev.txt
- name: Install dependencies
run: |
pip install -r requirements-dev.txt
pip install ruff
- name: ruff
run: |
ruff check .
ruff format --check .
- name: mypy
run: |
mypy --version
rm -rf .mypy_cache
mypy $(find . -name "*.py" | xargs)