build(deps-dev): update ruff requirement from ^0.4.4 to ^0.5.0 #51
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint and test | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up CPython 3.11 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.11" | |
- name: Install poetry | |
run: > | |
pip install pipx | |
pipx install poetry | |
- name: Poetry check structure | |
run: > | |
poetry check | |
- name: Install depends | |
run: > | |
poetry install | |
- name: Lint code with ruff | |
run: > | |
poetry run ruff check --fix | |
- name: Check types with basedpyright | |
run: > | |
poetry run basedpyright --level ERROR | |
# NOTE: add run tests |