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。

ci: improve Rust cache reuse

t8y2f73023cd392e
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 1ae8fd6738..60b27d9ef4 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -59,12 +59,6 @@ jobs:
steps:
- uses: actions/checkout@v5
- - name: Free disk space
- run: |
- sudo rm -rf /usr/share/dotnet /opt/ghc /usr/local/lib/android /usr/local/.ghcup || true
- docker system prune -af || true
- df -h
-
- name: Install system dependencies
run: |
sudo apt-get update
@@ -85,6 +79,8 @@ jobs:
with:
workspaces: "./ -> target"
shared-key: ci-rust-fmt-clippy-x86_64-unknown-linux-gnu
+ # Preserve completed dependency builds when a later lint step fails.
+ cache-on-failure: true
- name: Cargo fmt check
run: cargo fmt --check
@@ -109,12 +105,6 @@ jobs:
steps:
- uses: actions/checkout@v5
- - name: Free disk space
- run: |
- sudo rm -rf /usr/share/dotnet /opt/ghc /usr/local/lib/android /usr/local/.ghcup || true
- docker system prune -af || true
- df -h
-
- name: Install system dependencies
run: |
sudo apt-get update
@@ -133,6 +123,8 @@ jobs:
with:
workspaces: "./ -> target"
shared-key: ci-rust-test-x86_64-unknown-linux-gnu
+ # Preserve completed dependency builds when a later test step fails.
+ cache-on-failure: true
- name: Cargo test
run: cargo test --workspace --locked