AI-native design editor. Open-source Figma alternative.
Cache Rust and Bun dependencies in CI
Danila Poyarkovfcb244f02a88
diff --git a/.github/workflows/build.yml b/.github/workflows/build.ymlindex 5801c2be4..61eef7b52 100644--- a/.github/workflows/build.yml+++ b/.github/workflows/build.yml@@ -42,12 +42,23 @@ jobs:with:targets: ${{ matrix.target }}+ - uses: Swatinem/rust-cache@v2+ with:+ workspaces: desktop/src-tauri -> target+ key: ${{ matrix.target }}+- name: Install dependencies (Linux)if: startsWith(matrix.platform, 'ubuntu')run: |sudo apt-get updatesudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf+ - uses: actions/cache@v4+ with:+ path: ~/.bun/install/cache+ key: bun-${{ runner.os }}-${{ hashFiles('bun.lock') }}+ restore-keys: bun-${{ runner.os }}-+- run: bun install- name: Extract release notes@@ -83,6 +94,12 @@ jobs:node-version: 24.xregistry-url: https://registry.npmjs.org/+ - uses: actions/cache@v4+ with:+ path: ~/.bun/install/cache+ key: bun-${{ runner.os }}-${{ hashFiles('bun.lock') }}+ restore-keys: bun-${{ runner.os }}-+- run: bun install- uses: pnpm/action-setup@v4