Skip to content

refactor: separate out ChatContext from the Aichat specific format #41

refactor: separate out ChatContext from the Aichat specific format

refactor: separate out ChatContext from the Aichat specific format #41

Workflow file for this run

name: Rust
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
env:
CARGO_TERM_COLOR: always
jobs:
# Build/Test/Check everything Rust
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
components: clippy, rustfmt
- name: Rust Cache
uses: Swatinem/rust-cache@v2
- name: Build
run: cargo build
- name: Test
run: cargo test
- name: Format
run: cargo fmt -- --check
- name: Clippy
run: cargo clippy -- -D warnings