-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (36 loc) · 879 Bytes
/
test.yml
File metadata and controls
45 lines (36 loc) · 879 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: Test
on:
push:
branches:
- main
pull_request:
branches:
- main
concurrency:
group: test-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
name: Test
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf
- name: Setup Bun
uses: oven-sh/setup-bun@v2
- name: Install dependencies
run: make install
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- name: Load Rust cache
uses: Swatinem/rust-cache@v2
with:
workspaces: src-tauri
- name: Lint
run: make can-release