Skip to content

Bump ruff from 0.2.1 to 0.2.2 #108

Bump ruff from 0.2.1 to 0.2.2

Bump ruff from 0.2.1 to 0.2.2 #108

Workflow file for this run

---
name: Check format, lint and tests
on:
pull_request: {}
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
- name: Install Poetry
run: pipx install poetry
- name: Validate pyproject.toml and poetry.lock
run: poetry check
- name: Install dependencies
run: poetry install --with dev
- name: Run format and lint
run: |
poetry run ruff format --check --diff .
poetry run ruff check --diff .
- name: Run Tests
run: poetry run pytest