Skip to content

Use Python 3.13 and modern setup-python caching for poetry #3

Use Python 3.13 and modern setup-python caching for poetry

Use Python 3.13 and modern setup-python caching for poetry #3

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- name: Install Poetry
run: pipx install poetry
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.13'
cache: 'poetry'
- name: Install dependencies
run: poetry install
- name: Run flake8
run: poetry run flake8 .
- name: Run tests
run: poetry run pytest