# Rust-часть десктопа: прокси и проверки URL. Установщики — в release.yml # (Linux .deb и Windows NSIS через cargo-xwin на ubuntu-latest). name: ci / desktop on: push: branches: [main] paths: - 'apps/desktop/**' - '.gitea/workflows/ci-desktop.yml' pull_request: paths: - 'apps/desktop/**' - '.gitea/workflows/ci-desktop.yml' concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true jobs: rust: name: rust (desktop proxy) runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: Rust run: | curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain stable --profile minimal echo "$HOME/.cargo/bin" >> "$GITHUB_PATH" - run: | sudo apt-get update sudo apt-get install -y libwebkit2gtk-4.1-dev libayatana-appindicator3-dev librsvg2-dev libdbus-1-dev - run: cargo test --manifest-path apps/desktop/src-tauri/Cargo.toml