update README #10
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: CI | |
on: | |
push: | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.11" | |
- name: Install poetry | |
uses: abatilo/actions-poetry@v2 | |
with: | |
poetry-version: "1.8.2" | |
- name: Install dev dependencies (lint) | |
run: poetry install -v --no-interaction --no-root --only dev | |
- name: Run linting | |
run: | | |
poetry run isort todoapp | |
poetry run ruff check todoapp --fix | |
poetry run ruff format todoapp |