Skip to content

Bump astral-sh/setup-uv from 6.8.0 to 8.0.0 #777

Bump astral-sh/setup-uv from 6.8.0 to 8.0.0

Bump astral-sh/setup-uv from 6.8.0 to 8.0.0 #777

Workflow file for this run

name: CI
on:
push:
schedule:
# Runs every Thursday at 20:23 GMT to avoid bit rot
- cron: "20 23 * * 4"
permissions: {}
jobs:
lint:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
- uses: dtolnay/rust-toolchain@3c5f7ea28cd621ae0bf5283f0e981fb97b8a7af9 # master
with:
toolchain: stable
components: rustfmt, clippy
- name: Lint with rustfmt
run: cargo fmt -- --check
- name: Lint with clippy
run: cargo clippy --all-targets --all-features
- name: Test with cargo
run: cargo test
test:
runs-on: ubuntu-latest
permissions:
contents: read
strategy:
matrix:
python-version: ["3.9", "3.12", "3.13", "3.13t", "3.14", "3.14t"]
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
- uses: dtolnay/rust-toolchain@3c5f7ea28cd621ae0bf5283f0e981fb97b8a7af9 # master
with:
toolchain: stable
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
- name: Install uv
uses: astral-sh/setup-uv@cec208311dfd045dd5311c1add060b2062131d57 # v8.0.0
- name: Build and test
run: |
uv sync
uv run maturin develop --release
uv run pytest tests/test_sqloxide.py -v