Skip to content

Merge pull request #81 from PrecisionNutrition/add-pgvector #245

Merge pull request #81 from PrecisionNutrition/add-pgvector

Merge pull request #81 from PrecisionNutrition/add-pgvector #245

Workflow file for this run

on:
push:
branch:
- '*'
name: test
jobs:
test:
name: clippy and fmt ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
include:
- os: ubuntu-latest
artifact_name: pndev
asset_name: pndev-x86_64-linux
- os: macos-latest
artifact_name: pndev
asset_name: pndev-x86_64-apple-darwin
steps:
- uses: hecrj/setup-rust-action@v1
with:
rust-version: stable
- uses: actions/checkout@v1
- name: setup
run: rustup component add clippy rustfmt
- name: Build
run: cargo build --release --locked
- name: clippy
run: cargo clippy --all-targets --all-features -- -D warnings
- name: fmt
run: cargo fmt --all -- --check