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
fix(ci): split rust checks
t8y2baeaeba43167
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex a94f6d388a..5fa41de4bd 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -47,7 +47,7 @@ jobs:- name: Node package publish dry runrun: pnpm publish:dry-run- rust:+ rust-fmt-clippy:needs: changesif: needs.changes.outputs.rust == 'true'runs-on: ubuntu-22.04@@ -68,13 +68,13 @@ jobs:- name: Setup Rustuses: dtolnay/rust-toolchain@stablewith:- components: clippy+ components: clippy, rustfmt- name: Rust cacheuses: swatinem/rust-cache@v2with:workspaces: "./ -> target"- shared-key: ci-x86_64-unknown-linux-gnu+ shared-key: ci-rust-fmt-clippy-x86_64-unknown-linux-gnu- name: Cargo fmt checkrun: cargo fmt --check@@ -82,9 +82,52 @@ jobs:- name: Cargo clippyrun: cargo clippy --workspace --locked --all-targets+ rust-test:+ needs: changes+ if: needs.changes.outputs.rust == 'true'+ runs-on: ubuntu-22.04+ 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+ 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++ - name: Rust cache+ uses: swatinem/rust-cache@v2+ with:+ workspaces: "./ -> target"+ shared-key: ci-rust-test-x86_64-unknown-linux-gnu+- name: Cargo testrun: cargo test --workspace --locked+ rust:+ needs: [changes, rust-fmt-clippy, rust-test]+ if: always() && needs.changes.outputs.rust == 'true'+ runs-on: ubuntu-22.04+ steps:+ - name: Check Rust jobs+ run: |+ if [ "${{ needs.rust-fmt-clippy.result }}" != "success" ]; then+ echo "rust-fmt-clippy result: ${{ needs.rust-fmt-clippy.result }}"+ exit 1+ fi+ if [ "${{ needs.rust-test.result }}" != "success" ]; then+ echo "rust-test result: ${{ needs.rust-test.result }}"+ exit 1+ fi+jdbc:needs: changesif: needs.changes.outputs.jdbc == 'true'