mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-14 03:26:08 +00:00
* feat(linux): add Tauri desktop companion app and openclaw dashboard --json * test(dashboard): assemble fake token fixture to satisfy secret scanners * test(dashboard): avoid secret-scanner-shaped mock factory line * fix(linux): actionable error when installed CLI predates dashboard --json * docs: regenerate docs map for linux platform heading change
68 lines
1.8 KiB
YAML
68 lines
1.8 KiB
YAML
name: Linux App
|
|
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- "apps/linux/**"
|
|
- ".github/workflows/linux-app.yml"
|
|
|
|
concurrency:
|
|
group: linux-app-${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
|
|
cancel-in-progress: true
|
|
|
|
env:
|
|
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
build:
|
|
name: Build Linux companion
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 30
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
|
|
with:
|
|
fetch-depth: 1
|
|
fetch-tags: false
|
|
persist-credentials: false
|
|
submodules: false
|
|
|
|
- name: Install Tauri system dependencies
|
|
run: |
|
|
sudo apt-get update
|
|
sudo apt-get install -y --no-install-recommends \
|
|
build-essential \
|
|
curl \
|
|
file \
|
|
libayatana-appindicator3-dev \
|
|
librsvg2-dev \
|
|
libssl-dev \
|
|
libwebkit2gtk-4.1-dev \
|
|
libxdo-dev \
|
|
wget
|
|
|
|
- name: Install Rust
|
|
run: rustup toolchain install stable --profile minimal --component rustfmt
|
|
|
|
- name: Cache Cargo
|
|
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5
|
|
with:
|
|
path: |
|
|
~/.cargo/registry
|
|
~/.cargo/git
|
|
apps/linux/src-tauri/target
|
|
key: linux-app-${{ runner.os }}-${{ hashFiles('apps/linux/src-tauri/Cargo.lock') }}
|
|
restore-keys: |
|
|
linux-app-${{ runner.os }}-
|
|
|
|
- name: Check Rust formatting
|
|
working-directory: apps/linux/src-tauri
|
|
run: cargo +stable fmt --check
|
|
|
|
- name: Build Linux companion
|
|
working-directory: apps/linux/src-tauri
|
|
run: cargo +stable build
|