Skip to content

Commit

Permalink
feat(integrations): Add PGVector support for indexing (#392)
Browse files Browse the repository at this point in the history
  • Loading branch information
shamb0 authored Nov 20, 2024
1 parent d865496 commit 1774b84
Show file tree
Hide file tree
Showing 15 changed files with 1,947 additions and 35 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: CI

on:
pull_request:
merge_group:
push:
branches:
- master

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-lint

env:
CARGO_TERM_COLOR: always
RUSTFLAGS: "-Dwarnings"

jobs:
lint:
name: Lint
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- uses: r7kamura/rust-problem-matchers@v1
- name: Install Protoc
uses: arduino/setup-protoc@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Check typos
uses: crate-ci/typos@master
- name: "Rustfmt"
run: cargo fmt --all --check
- name: Lint dependencies
uses: EmbarkStudios/cargo-deny-action@v2
- name: clippy
run: cargo clippy --all-targets --all-features --workspace
26 changes: 0 additions & 26 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,37 +9,12 @@ on:

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-test
cancel-in-progress: true

env:
CARGO_TERM_COLOR: always
RUSTFLAGS: "-Dwarnings"

jobs:
lint:
name: Lint
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- uses: r7kamura/rust-problem-matchers@v1
- name: Install Protoc
uses: arduino/setup-protoc@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- uses: r7kamura/rust-problem-matchers@v1
- name: Check typos
uses: crate-ci/typos@master
- name: "Rustfmt"
run: cargo fmt --all --check
- name: Lint dependencies
uses: EmbarkStudios/cargo-deny-action@v2
- name: clippy
run: cargo clippy --all-targets --all-features --workspace

test:
name: Test
runs-on: ubuntu-latest
Expand All @@ -50,6 +25,5 @@ jobs:
uses: arduino/setup-protoc@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- uses: r7kamura/rust-problem-matchers@v1
- name: "Test"
run: cargo test --all-features --tests
Loading

0 comments on commit 1774b84

Please sign in to comment.