Skip to content

armgit / dbx

Public Imported from GitHub
0

25 MB lightweight cross-platform database client for 100+ databases, including MySQL, PostgreSQL, SQLite, Redis, MongoDB, DuckDB, SQL Server, and Dameng. Built-in AI, MCP Server, CLI, desktop and Docker. | 轻量级跨平台数据库管理工具,支持 MySQL、PostgreSQL、SQLite、Redis、MongoDB、达梦等 100+ 数据库,提供桌面端、Docker、CLI、内置 AI 助手和 MCP。

fix: use per-target Rust cache keys and align CI runner for cache reuse

t8y237e1f78d3d73
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index bcd49c750b..258febe01e 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -8,7 +8,7 @@ on:
jobs:
check:
- runs-on: ubuntu-latest
+ runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
@@ -34,8 +34,8 @@ jobs:
- name: Rust cache
uses: swatinem/rust-cache@v2
with:
- workspaces: src-tauri
- shared-key: "release"
+ workspaces: './src-tauri -> target'
+ shared-key: release-x86_64-unknown-linux-gnu
- name: Install system dependencies (Linux)
run: |
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index effefb76e3..7ec7d64b82 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -48,8 +48,8 @@ jobs:
- name: Rust cache
uses: swatinem/rust-cache@v2
with:
- workspaces: src-tauri
- shared-key: "release"
+ workspaces: './src-tauri -> target'
+ shared-key: release-${{ matrix.target }}
- name: Install system dependencies (Linux)
if: startsWith(matrix.platform, 'ubuntu')