Skip to content

Initial implementation of RustAgents library, including core modules … #1

Initial implementation of RustAgents library, including core modules …

Initial implementation of RustAgents library, including core modules … #1

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
rust-sdk:
name: Rust SDK
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
# This job executes repo code (cargo build/test); don't persist the
# token in git config.
persist-credentials: false
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- uses: Swatinem/rust-cache@v2
with:
workspaces: sdk/rust
- name: Check formatting
run: cargo fmt --check
working-directory: sdk/rust
- name: Clippy
run: cargo clippy --all-targets -- -D warnings
working-directory: sdk/rust
- name: Build
run: cargo build --all-targets
working-directory: sdk/rust
- name: Test
run: cargo test
working-directory: sdk/rust