Skip to content

Bump astral-sh/setup-uv from 8.2.0 to 10.1.0 #7

Bump astral-sh/setup-uv from 8.2.0 to 10.1.0

Bump astral-sh/setup-uv from 8.2.0 to 10.1.0 #7

Workflow file for this run

name: CI
# On every pull request, but only on push to main
on:
push:
branches:
- main
tags:
- "*"
pull_request:
env:
LATEST_PY_VERSION: "3.14"
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- "3.13"
- "3.14"
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Install uv
uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0
with:
version: "0.12.*"
enable-cache: true
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: uv sync --group dev
- name: Run pre-commit
if: ${{ matrix.python-version == env.LATEST_PY_VERSION }}
run: |
uv run pre-commit run --all-files
- name: Run type checks
if: ${{ matrix.python-version == env.LATEST_PY_VERSION }}
run: |
uv run ty check src
# no test needed + no coverage