File tree Expand file tree Collapse file tree 4 files changed +11
-6
lines changed Expand file tree Collapse file tree 4 files changed +11
-6
lines changed Original file line number Diff line number Diff line change 12
12
node-version : " 20.9.0"
13
13
- uses : actions/checkout@v4
14
14
- run : npm ci
15
- - run : npm run check
15
+ - run : npm run check-js
16
16
lint-rust :
17
17
name : lint rust
18
18
runs-on : ubuntu-latest
29
29
with :
30
30
packages : libgtk-3-dev libsoup-3.0-dev libjavascriptcoregtk-4.1-dev libwebkit2gtk-4.1-dev
31
31
version : 1.0
32
- - name : Run clippy
33
- run : cargo clippy --all --tests -- -Dwarnings
34
- - name : Check formatting
35
- run : cargo fmt --all --check
32
+ - run : npm run check-rs
Original file line number Diff line number Diff line change 8
8
"start" : " vite" ,
9
9
"build" : " vite build" ,
10
10
"preview" : " vite preview" ,
11
- "check" : " scripts/check" ,
11
+ "check" : " scripts/check-js && scripts/check-rs" ,
12
+ "check-js" : " scripts/check-js" ,
13
+ "check-rs" : " scripts/check-rs" ,
12
14
"format" : " npx prettier '**/*.@(ts|js|svelte|json|css|html|yml)' --write" ,
13
15
"tauri" : " npx tauri"
14
16
},
File renamed without changes.
Original file line number Diff line number Diff line change
1
+ #! /bin/sh
2
+ set -e
3
+
4
+ cargo check --manifest-path ./src-tauri/Cargo.toml
5
+ cargo clippy --manifest-path ./src-tauri/Cargo.toml -- -Dwarnings
6
+ cargo fmt --manifest-path ./src-tauri/Cargo.toml --check
You can’t perform that action at this time.
0 commit comments