Skip to content

Update uv

Update uv #162

Workflow file for this run

name: Code style & unit tests
on:
push: {}
workflow_dispatch: {}
jobs:
unit-tests:
runs-on: ubuntu-latest
strategy:
matrix:
version:
- "3.7"
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "${{ matrix.version }}"
- name: Set up uv
run: curl -LsSf https://astral.sh/uv/install.sh | sh
- name: Install dependencies
run: uv sync --dev
- name: Run pre-commit
run: uvx pre-commit run --all-files