docs: clarify local privacy and add first-dictation troubleshooting #181
This file contains hidden or 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: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| jobs: | |
| check-guidelines: | |
| name: Check Guidelines | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: lts/* | |
| - name: Setup Rust | |
| uses: dtolnay/rust-toolchain@4be9e76fd7c4901c61fb841f559994984270fce7 | |
| - uses: swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 | |
| with: | |
| workspaces: './src-tauri -> target' | |
| - name: Install pnpm | |
| run: npm install -g pnpm@11.8.0 | |
| - name: Install Linux deps (official + extras) | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y \ | |
| libwebkit2gtk-4.1-dev \ | |
| libayatana-appindicator3-dev \ | |
| librsvg2-dev \ | |
| patchelf \ | |
| libasound2-dev \ | |
| libxdo-dev \ | |
| unzip \ | |
| build-essential \ | |
| curl \ | |
| wget \ | |
| file \ | |
| libssl-dev | |
| - name: Download & extract ONNX model (Linux) | |
| shell: bash | |
| run: bash .github/scripts/download-parakeet-model.sh resources | |
| - name: Install frontend deps | |
| run: pnpm install | |
| - name: Remove Windows-only hotkey resource | |
| shell: bash | |
| run: | | |
| node <<'NODE' | |
| const fs = require('fs'); | |
| const path = 'src-tauri/tauri.conf.json'; | |
| const config = JSON.parse(fs.readFileSync(path, 'utf8')); | |
| config.bundle.resources = config.bundle.resources.filter( | |
| (resource) => resource !== '../hotkeys/target/release/hyperyap-hotkeys.exe' | |
| ); | |
| fs.writeFileSync(path, `${JSON.stringify(config, null, 4)}\n`); | |
| NODE | |
| - name: Clippy | |
| run: pnpm run clippy | |
| - name: Lint | |
| run: pnpm run lint | |
| compile-linux: | |
| uses: ./.github/workflows/build-linux.yml | |
| with: | |
| dry: true | |
| compile-windows: | |
| uses: ./.github/workflows/build-windows.yml | |
| with: | |
| dry: true | |
| compile-macos: | |
| uses: ./.github/workflows/build-macos.yml | |
| with: | |
| dry: true |