Skip to content

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

fix(deps): update all non-major dependencies

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

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@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
with:
python-version: "3.12"
- uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
- run: uv sync
- 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@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
with:
python-version: "3.12"
- uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
- run: uv sync
- name: Run tests
run: make test-ci