feat(ci): add cargo-check job with Turborepo + Swatinem cache

This commit is contained in:
Offending Commit
2026-04-27 13:49:53 -05:00
parent dc0a986b75
commit 5e05d25b46
3 changed files with 61 additions and 35 deletions

View File

@@ -1,23 +1,27 @@
{
"$schema": "https://turbo.build/schema.json",
"tasks": {
"build": {
"dependsOn": ["^build"],
"outputs": ["dist/**", "src-tauri/target/release/bundle/**"]
},
"typecheck": {
"dependsOn": ["^typecheck"],
"inputs": ["src/**", "tsconfig*.json"]
},
"lint": {
"inputs": ["src/**"]
},
"test": {
"inputs": ["src/**", "vitest.config.*", "package.json"]
},
"dev": {
"cache": false,
"persistent": true
}
}
"$schema": "https://turbo.build/schema.json",
"tasks": {
"build": {
"dependsOn": ["^build"],
"outputs": ["dist/**", "src-tauri/target/release/bundle/**"]
},
"typecheck": {
"dependsOn": ["^typecheck"],
"inputs": ["src/**", "tsconfig*.json"]
},
"lint": {
"inputs": ["src/**"]
},
"test": {
"inputs": ["src/**", "vitest.config.*", "package.json"]
},
"cargo-check": {
"inputs": ["src-tauri/src/**", "src-tauri/Cargo.toml", "src-tauri/Cargo.lock"],
"outputs": []
},
"dev": {
"cache": false,
"persistent": true
}
}
}