fix: support index document in the background, fix stack overflow when calling rayon::spawn #3885
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ClientAPI Check | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
types: [ opened, synchronize, reopened ] | |
branches: [ main ] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: dtolnay/rust-toolchain@stable | |
- uses: Swatinem/rust-cache@v2 | |
with: | |
workspaces: | | |
AppFlowy-Cloud | |
- name: Install cargo-tree | |
run: cargo install cargo-tree | |
- name: Install wasm-pack | |
run: cargo install wasm-pack | |
- name: install prerequisites | |
run: | | |
sudo apt-get update | |
sudo apt-get install protobuf-compiler | |
- name: Build ClientAPI | |
working-directory: ./libs/client-api | |
run: cargo build --features "enable_brotli" | |
- name: Check ClientAPI Dependencies | |
working-directory: ./libs/client-api | |
run: bash ../../script/client_api_deps_check.sh | |