Skip to content

Update poetry to 2.2.1 in GitHub Actions #18

Update poetry to 2.2.1 in GitHub Actions

Update poetry to 2.2.1 in GitHub Actions #18

Workflow file for this run

name: Test the library
on:
pull_request:
types: [opened, synchronize, edited]
jobs:
run_tests:
name: Run tests
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
steps:
- name: Checkout 🔁
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Set up Python ${{ matrix.python-version }} 🐍
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
with:
python-version: ${{ matrix.python-version }}
- name: Install Poetry and pre-commit ⚙️
run: pip install poetry==2.2.1 pre-commit
- name: Install dependencies 🛠
run: poetry install
- name: Run tests 🚦
run: poetry run invoke test