name: Validate Kaleido Desktop on: push: branches: [main] tags: ['v*'] workflow_dispatch: jobs: # Shared code: typecheck and unit tests for the interface, and a Linux # compile of the Rust core (keeps the cross-platform build honest). validate: runs-on: ubuntu-latest container: image: node:22-bookworm timeout-minutes: 40 steps: - uses: https://data.forgejo.org/actions/checkout@v4.4.0 - name: Interface run: | npm ci npm run typecheck npm test - name: Rust core (Linux) run: | set -eu apt-get update apt-get install -y --no-install-recommends curl build-essential pkg-config libwebkit2gtk-4.1-dev libssl-dev libayatana-appindicator3-dev librsvg2-dev libmpv-dev libdbus-1-dev curl -fsSL https://sh.rustup.rs | sh -s -- -y --profile minimal . "$HOME/.cargo/env" mkdir -p dist && cargo check --manifest-path src-tauri/Cargo.toml