From 7a39a0c8ffad65ddd69cbccdb22448b972335749 Mon Sep 17 00:00:00 2001 From: link2xt Date: Fri, 15 May 2026 02:42:39 +0200 Subject: [PATCH] ci: set cache-bin to "false" for swatinem/rust-cache action Workaround for . Not clear why caching ~/.cargo/bin is needed in the first place, so we can disable it permanently. --- .github/workflows/ci.yml | 5 +++++ .github/workflows/jsonrpc.yml | 1 + 2 files changed, 6 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dcfcc5214..2c17503b9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -43,6 +43,7 @@ jobs: uses: swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 with: save-if: ${{ github.ref == 'refs/heads/main' }} + cache-bin: false - name: Run rustfmt run: cargo fmt --all -- --check - name: Run clippy @@ -96,6 +97,7 @@ jobs: uses: swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 with: save-if: ${{ github.ref == 'refs/heads/main' }} + cache-bin: false - name: Rustdoc run: cargo doc --document-private-items --no-deps @@ -141,6 +143,7 @@ jobs: uses: swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 with: save-if: ${{ github.ref == 'refs/heads/main' }} + cache-bin: false - name: Install nextest uses: taiki-e/install-action@cca35edeb1d01366c2843b68fc3ca441446d73d3 @@ -177,6 +180,7 @@ jobs: uses: swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 with: save-if: ${{ github.ref == 'refs/heads/main' }} + cache-bin: false - name: Build C library run: cargo build -p deltachat_ffi @@ -205,6 +209,7 @@ jobs: uses: swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 with: save-if: ${{ github.ref == 'refs/heads/main' }} + cache-bin: false - name: Build deltachat-rpc-server run: cargo build -p deltachat-rpc-server diff --git a/.github/workflows/jsonrpc.yml b/.github/workflows/jsonrpc.yml index 4906d84b5..ca04b617c 100644 --- a/.github/workflows/jsonrpc.yml +++ b/.github/workflows/jsonrpc.yml @@ -28,6 +28,7 @@ jobs: uses: swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 with: save-if: ${{ github.ref == 'refs/heads/main' }} + cache-bin: false - name: npm install working-directory: deltachat-jsonrpc/typescript run: npm install