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。

perf(ci): cache Rust workspace crates

t8y2b749cb9bdbc0
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index bc3ef34d97..1bc39ee841 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -66,7 +66,7 @@ jobs:
sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf libssl-dev libsecret-1-dev
- name: Setup Rust
- uses: dtolnay/rust-toolchain@stable
+ uses: dtolnay/[email protected]
with:
components: clippy, rustfmt
@@ -134,7 +134,7 @@ jobs:
sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf libssl-dev libsecret-1-dev
- name: Setup Rust
- uses: dtolnay/rust-toolchain@stable
+ uses: dtolnay/[email protected]
- name: Setup sccache
uses: mozilla-actions/sccache-action@9e7fa8a12102821edf02ca5dbea1acd0f89a2696 # v0.0.10
@@ -166,7 +166,9 @@ jobs:
uses: swatinem/rust-cache@v2
with:
workspaces: "./ -> target"
- shared-key: ci-rust-test-x86_64-unknown-linux-gnu
+ shared-key: ci-rust-test-v2-x86_64-unknown-linux-gnu
+ # Test linking dominates this job and sccache cannot cache those crate types.
+ cache-workspace-crates: true
# Preserve completed dependency builds when a later test step fails.
cache-on-failure: true
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 23a4798952..7a7159eeaf 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -108,7 +108,7 @@ jobs:
run: pnpm install
- name: Setup Rust
- uses: dtolnay/rust-toolchain@stable
+ uses: dtolnay/[email protected]
with:
targets: ${{ matrix.target }}