Skip to content

chore(deps): bump actions/setup-python from 6.2.0 to 6.3.0 in the actions-minor-patch group #21

chore(deps): bump actions/setup-python from 6.2.0 to 6.3.0 in the actions-minor-patch group

chore(deps): bump actions/setup-python from 6.2.0 to 6.3.0 in the actions-minor-patch group #21

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.11", "3.13"]
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- name: Install uv
uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0
with:
python-version: ${{ matrix.python-version }}
enable-cache: true
- name: Tests + coverage (excluding live CrossRef/NCBI calls)
run: uv run --extra dev pytest --cov=ghostcite --cov-report=term-missing -m "not live"
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- name: Install uv
uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0
with:
enable-cache: true
- name: Lint (ruff)
run: uv run --extra dev ruff check .
- name: Format check (ruff)
run: uv run --extra dev ruff format --check .
types:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- name: Install uv
uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0
with:
enable-cache: true
# mypy is clean and now gates the build: type regressions fail CI.
- name: Types (mypy)
run: uv run --extra dev mypy src/ghostcite