Skip to content

feat: cache poetry on gh-actions #44

feat: cache poetry on gh-actions

feat: cache poetry on gh-actions #44

Workflow file for this run

name: Backend
on:
push:
branches:
- '*'
paths:
- 'backend/**'
pull_request:
branches:
- '*'
paths:
- 'backend/**'
jobs:
lint:
defaults:
run:
working-directory: ./backend
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Python, Poetry and Dependencies
uses: packetcoders/action-setup-cache-python-poetry@main
with:
python-version: 3.12
poetry-version: 1.8.4
install-args: --directory=./backend
- name: Run isort and flake8
run: poetry run poe lint