Skip to content

[CI] pin setup-uv action to commit hash #32

[CI] pin setup-uv action to commit hash

[CI] pin setup-uv action to commit hash #32

Workflow file for this run

name: Build python package
on: [push]
permissions: {}
env:
# Disable check for new pyright version
PYRIGHT_PYTHON_IGNORE_WARNINGS: 1
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- "3.10"
- "3.11"
- "3.12"
- "3.13"
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: Install uv
uses: astral-sh/setup-uv@bd01e18f51369d5a26f1651c3cb451d3417e3bba # v6.3.1
with:
python-version: ${{ matrix.python-version }}
enable-cache: true
- name: Install just
run: uv tool install rust-just
- name: Install the project
run: uv sync --dev
- name: Run checks
run: just check
- name: Run tests
run: just test doctest
- name: Build package
run: uv build