mirror of
https://github.com/harivansh-afk/sandbox-agent.git
synced 2026-04-15 20:03:11 +00:00
* fix: repair ci checks workflow * fix: run release checks via pnpm exec * fix: install tsx in ci
34 lines
942 B
YAML
34 lines
942 B
YAML
name: ci
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
workflow_call:
|
|
|
|
jobs:
|
|
checks:
|
|
runs-on: ubuntu-24.04
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: dtolnay/rust-toolchain@stable
|
|
with:
|
|
components: rustfmt, clippy
|
|
- uses: Swatinem/rust-cache@v2
|
|
- uses: pnpm/action-setup@v4
|
|
- uses: actions/setup-node@v4
|
|
with:
|
|
node-version: 20
|
|
cache: pnpm
|
|
- run: pnpm install
|
|
- run: npm install -g tsx
|
|
- name: Run checks
|
|
run: ./scripts/release/main.ts --version 0.0.0 --only-steps run-ci-checks
|
|
- name: Run ACP v1 server tests
|
|
run: |
|
|
cargo test -p sandbox-agent-agent-management
|
|
cargo test -p sandbox-agent --test v1_api
|
|
cargo test -p sandbox-agent --test v1_agent_process_matrix
|
|
cargo test -p sandbox-agent --lib
|
|
- name: Run SDK tests
|
|
run: pnpm --dir sdks/typescript test
|