cargo check

This commit is contained in:
Gabriel Bo
2026-03-03 11:51:19 -08:00
parent 4cdf32a21a
commit c32c9b0d14
2 changed files with 17 additions and 6 deletions
+17 -5
View File
@@ -5,6 +5,7 @@ on:
branches: [main]
paths:
- 'desktop/**'
- 'frontend/**'
- '.github/workflows/desktop.yml'
tags:
- 'desktop-v*'
@@ -12,6 +13,7 @@ on:
branches: [main]
paths:
- 'desktop/**'
- 'frontend/**'
- '.github/workflows/desktop.yml'
workflow_dispatch:
@@ -46,17 +48,17 @@ jobs:
node-version: '22'
- name: Install frontend dependencies
working-directory: frontend
run: npm install
- name: Install desktop dependencies
working-directory: desktop
run: npm install
- name: TypeScript type-check
working-directory: desktop
working-directory: frontend
run: npx tsc --noEmit
- name: Vite build
working-directory: desktop
run: npx vite build
- name: Install Rust stable
uses: dtolnay/rust-toolchain@stable
@@ -117,9 +119,18 @@ jobs:
node-version: '22'
- name: Install frontend dependencies
working-directory: frontend
run: npm install
- name: Install desktop dependencies
working-directory: desktop
run: npm install
- name: Download Ollama sidecar
shell: bash
run: |
cd desktop/scripts && chmod +x download-ollama.sh && ./download-ollama.sh
- name: Determine release info
id: release-info
shell: bash
@@ -163,6 +174,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }}
TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY_PASSWORD }}
TAURI_CONFIG: '{"bundle":{"externalBin":["binaries/ollama"]}}'
with:
projectPath: desktop
tauriScript: npx tauri