Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
61 changes: 61 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
name: CI

on:
push:
pull_request:

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Install Linux system dependencies
run: |
sudo apt-get update
sudo apt-get install -y \
pkg-config \
build-essential \
libssl-dev \
libxdo-dev \
libglib2.0-dev \
libgtk-3-dev \
libwebkit2gtk-4.1-dev \
libjavascriptcoregtk-4.1-dev \
libsoup-3.0-dev \
libayatana-appindicator3-dev \
librsvg2-dev \
patchelf

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22
cache: npm

- name: Install Rust (stable + components)
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy

- name: Install frontend dependencies
run: npm ci

- name: Build frontend
run: npm run build

- name: Cargo fmt (check)
run: cargo fmt --all -- --check

- name: Cargo clippy (deny warnings)
run: cargo clippy --workspace --all-targets --all-features -- -D warnings

- name: Cargo check
run: cargo check --workspace

- name: Cargo test (compile only)
run: cargo test --workspace --no-run

- name: Tauri build check (no bundle)
run: npm run tauri build -- --no-bundle

11 changes: 11 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
/target/
**/node_modules/
/dist/
src-tauri/target/
.tauri-init/
/.idea/
/.vscode/
*.log
*.swp
*.swo

Loading
Loading