Skip to content

Using poetry cache in Lint task #37

Using poetry cache in Lint task

Using poetry cache in Lint task #37

Workflow file for this run

name: Lint
on:
push:
jobs:
flake8:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: '3.12'
cache: 'poetry'
- name: Install pipx
run: |
python3 -m pip install --user pipx
- name: Install poetry
run: |
pipx install poetry
- name: Install project dependencies
run: |
poetry install --sync --with=main,dev
- name: Run lint
run: |
poetry run flake8