ci: 将pr的格式检查与代码检查覆盖插件代码

This commit is contained in:
lanyeeee
2026-03-16 08:14:25 +08:00
parent b5698f8d43
commit d8e9efef87
2 changed files with 26 additions and 5 deletions
+11 -4
View File
@@ -33,7 +33,14 @@ jobs:
with:
components: rustfmt
- name: Check Rust formatting
run: |
cd src-tauri
cargo fmt --all -- --check
- name: Check Tauri Rust formatting
working-directory: src-tauri
run: cargo fmt --all -- --check
- name: Check Plugin Rust formatting
working-directory: src-plugin
run: cargo fmt --all -- --check
- name: Check Plugin Examples Rust formatting
working-directory: src-plugin/examples
run: cargo fmt --all -- --check