Skip to content

fix(deps): update all non-major dependencies #157

fix(deps): update all non-major dependencies

fix(deps): update all non-major dependencies #157

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
with:
persist-credentials: false
- uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6
with:
python-version: "3.12"
- uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0
with:
enable-cache: true
- run: uv sync --frozen
- name: Ruff check
run: uv run ruff check src/ tests/
- name: Ruff format check
run: uv run ruff format --check src/ tests/
- name: Pyright
run: uv run pyright src/docs2db/
test:
runs-on: ubuntu-latest
services:
postgres:
image: pgvector/pgvector@sha256:494dff7e67e7bc2c826b94c331364978d145ebb86fd338154138b084223b7f67 # pg17
ports:
- 5433:5432
env:
POSTGRES_USER: test_user
POSTGRES_PASSWORD: test_password
POSTGRES_DB: test_docs2db
options: >-
--health-cmd "pg_isready -U test_user -d test_docs2db"
--health-interval 5s
--health-timeout 5s
--health-retries 5
env:
TEST_DB_HOST: localhost
TEST_DB_PORT: "5433"
TEST_DB_NAME: test_docs2db
TEST_DB_USER: test_user
TEST_DB_PASSWORD: test_password
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
with:
persist-credentials: false
- uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6
with:
python-version: "3.12"
- uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0
with:
enable-cache: true
- run: uv sync --frozen
- name: Run tests
run: make test-ci