Skip to content

Update actions/checkout action to v6 (#3) #16

Update actions/checkout action to v6 (#3)

Update actions/checkout action to v6 (#3) #16

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
- name: Install uv
uses: astral-sh/setup-uv@38f3f104447c67c051c4a08e39b64a148898af3a # v4
- name: Set up Python ${{ matrix.python-version }}
run: uv python install ${{ matrix.python-version }}
- name: Install dependencies
env:
UV_DEFAULT_INDEX: https://pypi.org/simple
UV_INDEX_URL: https://pypi.org/simple
run: uv sync --all-extras
- name: Lint with ruff
run: uv run ruff check .
- name: Run tests
run: uv run pytest -v