Skip to content

feat: Added OpenAI embeddings for file system. It can solely run on o… #31

feat: Added OpenAI embeddings for file system. It can solely run on o…

feat: Added OpenAI embeddings for file system. It can solely run on o… #31

Workflow file for this run

name: CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
fmt:
name: Formatting
runs-on: ubuntu-latest
steps:
- name: Checkout Actions Repository
uses: actions/checkout@v3
- name: Setup Rust
uses: actions-rust-lang/[email protected]
with:
toolchain: "stable"
components: "rustfmt,clippy"
- name: cargo fmt
run: cargo fmt --all -- --check
- name: Install dependencies (Linux)
run: sudo apt-get update && sudo apt-get install -y libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev libxkbcommon-dev libssl-dev libclang-dev libgtk-3-dev
- name: Clippy
run: cargo clippy --workspace --no-deps --all-features --all-targets -- -D warnings
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout Actions Repository
uses: actions/checkout@v3
- name: Setup Rust
uses: actions-rust-lang/[email protected]
with:
toolchain: "stable"
- name: Build
run: cargo build --verbose