Skip to content

ci: fast checks per PR, batch heavy builds to main/nightly/release #844

ci: fast checks per PR, batch heavy builds to main/nightly/release

ci: fast checks per PR, batch heavy builds to main/nightly/release #844

Workflow file for this run

on:
workflow_dispatch:
push:
branches:
- main
paths:
- .github/scripts/test_verify_cloudsync_e2ee.py
- .github/scripts/verify_cloudsync_e2ee.py
- .github/workflows/api_cd.yaml
- .github/workflows/api_ci.yaml
- apps/api/**
- crates/api-sync/**
- crates/llm-proxy/**
- crates/transcribe-proxy/**
pull_request:
paths:
- .github/scripts/test_verify_cloudsync_e2ee.py
- .github/scripts/verify_cloudsync_e2ee.py
- .github/workflows/api_cd.yaml
- .github/workflows/api_ci.yaml
- apps/api/**
- crates/api-sync/**
- crates/llm-proxy/**
- crates/transcribe-proxy/**
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/rust_install
with:
platform: linux
- run: cargo check -p api
- run: cargo test -p api-sync
- run: python3 .github/scripts/test_verify_cloudsync_e2ee.py
- run: |
cargo test -p api gen_openapi_json
git diff --exit-code -- apps/api/openapi.gen.json