mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-03-22 17:39:46 +01:00
31 lines
598 B
YAML
31 lines
598 B
YAML
on:
|
|
push:
|
|
paths:
|
|
- src-tauri/**
|
|
|
|
name: CI (Rust)
|
|
|
|
defaults:
|
|
run:
|
|
working-directory: src-tauri
|
|
|
|
jobs:
|
|
test:
|
|
name: Test
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
sparse-checkout: 'src-tauri'
|
|
sparse-checkout-cone-mode: false
|
|
- run: |
|
|
sudo apt-get update
|
|
sudo apt-get install -y libwebkit2gtk-4.1-dev
|
|
- uses: actions-rs/toolchain@v1
|
|
with:
|
|
profile: minimal
|
|
toolchain: stable
|
|
override: true
|
|
- run: cargo check
|
|
- run: cargo test --all
|