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。
TypeScript aicliclickhousedatabasedatabase-clientdatabase-managementdockerguimcpmongodbmysqlpostgresqlredisrustsql-serversqlitetaurivue
ci: add sccache to Rust checks
t8y24e3c705f9cc6
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex 5fa41de4bd..1ae8fd6738 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -51,6 +51,11 @@ jobs:needs: changesif: needs.changes.outputs.rust == 'true'runs-on: ubuntu-22.04+ env:+ # sccache cannot reuse Cargo incremental artifacts, so avoid generating them in CI.+ CARGO_INCREMENTAL: "0"+ RUSTC_WRAPPER: sccache+ SCCACHE_GHA_ENABLED: "true"steps:- uses: actions/checkout@v5@@ -70,6 +75,11 @@ jobs:with:components: clippy, rustfmt+ - name: Setup sccache+ uses: mozilla-actions/sccache-action@9e7fa8a12102821edf02ca5dbea1acd0f89a2696 # v0.0.10+ with:+ version: "v0.10.0"+- name: Rust cacheuses: swatinem/rust-cache@v2with:@@ -82,10 +92,20 @@ jobs:- name: Cargo clippyrun: cargo clippy --workspace --locked --all-targets+ - name: Show sccache stats+ if: always()+ continue-on-error: true+ run: ${SCCACHE_PATH} --show-stats+rust-test:needs: changesif: needs.changes.outputs.rust == 'true'runs-on: ubuntu-22.04+ env:+ # sccache cannot reuse Cargo incremental artifacts, so avoid generating them in CI.+ CARGO_INCREMENTAL: "0"+ RUSTC_WRAPPER: sccache+ SCCACHE_GHA_ENABLED: "true"steps:- uses: actions/checkout@v5@@ -103,6 +123,11 @@ jobs:- name: Setup Rustuses: dtolnay/rust-toolchain@stable+ - name: Setup sccache+ uses: mozilla-actions/sccache-action@9e7fa8a12102821edf02ca5dbea1acd0f89a2696 # v0.0.10+ with:+ version: "v0.10.0"+- name: Rust cacheuses: swatinem/rust-cache@v2with:@@ -112,6 +137,11 @@ jobs:- name: Cargo testrun: cargo test --workspace --locked+ - name: Show sccache stats+ if: always()+ continue-on-error: true+ run: ${SCCACHE_PATH} --show-stats+rust:needs: [changes, rust-fmt-clippy, rust-test]if: always() && needs.changes.outputs.rust == 'true'