add link to documentation in readme #548
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
pull_request: {} | |
push: | |
branches: | |
- main | |
workflow_dispatch: {} | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
rust: [stable] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: hecrj/setup-rust-action@v2 | |
with: | |
rust-version: ${{ matrix.rust }} | |
- name: Install protoc | |
uses: arduino/setup-protoc@v3 | |
- name: Build SDK | |
run: cargo build | |
- name: Build documentation | |
run: cargo doc --no-deps | |
- name: Run tests | |
env: | |
PINECONE_API_KEY: ${{ secrets.PINECONE_API_KEY }} | |
SERVERLESS_INDEX_NAME: ${{ secrets.SERVERLESS_INDEX_NAME }} | |
POD_INDEX_NAME: ${{ secrets.POD_INDEX_NAME }} | |
COLLECTION_NAME: ${{ secrets.COLLECTION_NAME }} | |
run: cargo test --verbose |