Skip to content

build(deps): bump astral-sh/setup-uv from 8.3.2 to 9.0.0 #269

build(deps): bump astral-sh/setup-uv from 8.3.2 to 9.0.0

build(deps): bump astral-sh/setup-uv from 8.3.2 to 9.0.0 #269

Workflow file for this run

name: Tests
on:
push:
branches:
- "main"
- "master"
pull_request:
permissions:
contents: read
env:
CARGO_TERM_COLOR: always
RUST_BACKTRACE: 1
UV_LOCKED: 1
jobs:
lint:
name: Lint & Format
runs-on: ubuntu-latest
steps:
- &checkout
name: Checkout
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
fetch-depth: 0
persist-credentials: false
- &rust-cache
name: Cache
uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1
- name: Setup - uv
uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0
with:
enable-cache: true
- name: Check - Lint
run: make lint
- name: Check - Format
run: make fmt
test:
name: Test (py${{ matrix.python-version }})
strategy:
matrix:
python-version:
- "3.10"
- "3.11"
- "3.12"
- "3.13"
- "3.14"
runs-on: ubuntu-latest
steps:
- *checkout
- *rust-cache
- name: Setup - uv
uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0
with:
python-version: ${{ matrix.python-version }}
enable-cache: true
- name: Test - Rust
run: make test-rust
- name: "Test - Rust (python feature)"
run: make test-rust-python
- name: Test - Python
run: make test-python
coverage:
name: Coverage
runs-on: ubuntu-latest
steps:
- *checkout
- *rust-cache
- name: Install cargo-llvm-cov
uses: taiki-e/install-action@07b4745e0c39a41822af610387492e3e53aa222b # v2.83.4
with:
tool: cargo-llvm-cov
- name: Coverage
run: make coverage-ci
- name: Upload to Codecov
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: coverage/lcov.info
fail_ci_if_error: false