From 72475b8e2d8e5dc819674f192b8ed74d38f1427e Mon Sep 17 00:00:00 2001 From: Ronald Holshausen Date: Fri, 20 Dec 2024 11:17:27 +1100 Subject: [PATCH] Revert "chore(ci): add rust caching" This reverts commit f80cf9f791a3c0e9a68a48a6f2395fc693d27929. --- .github/workflows/build-ffi.yml | 4 ---- .github/workflows/build.yml | 4 ---- .github/workflows/compatability-suite.yml | 6 ------ .github/workflows/release.yml | 4 ++-- 4 files changed, 2 insertions(+), 16 deletions(-) diff --git a/.github/workflows/build-ffi.yml b/.github/workflows/build-ffi.yml index e6dfb4a5..a82742e3 100644 --- a/.github/workflows/build-ffi.yml +++ b/.github/workflows/build-ffi.yml @@ -34,10 +34,6 @@ jobs: with: toolchain: stable components: rustfmt - - uses: Swatinem/rust-cache@v2 - with: - workspaces: rust - shared-key: ${{ runner.os }} - name: Install shared mime info DB if: runner.os == 'macOS' run: brew install shared-mime-info diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0e03a796..a7e2060d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -62,10 +62,6 @@ jobs: - uses: taiki-e/install-action@v2 with: tool: cargo-nextest - - uses: Swatinem/rust-cache@v2 - with: - workspaces: rust - shared-key: ${{ runner.os }}-musl - name: Tests run: cargo nextest run working-directory: rust diff --git a/.github/workflows/compatability-suite.yml b/.github/workflows/compatability-suite.yml index 9db21dcd..659c4e05 100644 --- a/.github/workflows/compatability-suite.yml +++ b/.github/workflows/compatability-suite.yml @@ -31,12 +31,6 @@ jobs: - uses: taiki-e/install-action@v2 with: tool: cargo-nextest - - uses: Swatinem/rust-cache@v2 - with: - workspaces: | - rust - compatibility-suite - shared-key: ${{ runner.os }} - name: Run Cucumber # Note: cucumber's test executables are incompatible with nextest # See: https://github.com/nextest-rs/nextest/issues/1329 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fee21da6..5fa809da 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -62,10 +62,10 @@ jobs: uses: Swatinem/rust-cache@v2 with: workspaces: rust - shared-key: ${{ runner.os }} + key: ${{ matrix.targets }} - name: Set up QEMU - if: runner.os == 'Linux' && startsWith(matrix.targets, 'aarch64') + if: runner.os == 'Linux' uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx