Skip to content
This repository was archived by the owner on Oct 20, 2025. It is now read-only.

dependency updates to preserve project while simplifying setup #3

dependency updates to preserve project while simplifying setup

dependency updates to preserve project while simplifying setup #3

Workflow file for this run

name: Python Lint
on:
push:
branches: [main]
paths:
- poetry.lock
- pyproject.toml
- blind_charging/**
- tests/**
pull_request:
branches: [main]
paths:
- poetry.lock
- pyproject.toml
- blind_charging/**
- tests/**
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11"]
poetry-version: ["1.3.1"]
steps:
- uses: actions/checkout@v3
- name: Set up Poetry
uses: abatilo/actions-poetry@v2
with:
poetry-version: ${{ matrix.poetry-version }}
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'poetry'
- name: Install dependencies
run: poetry install --with dev
- name: Run linters
run: poetry run pre-commit run --all-files --show-diff-on-failure