From 8c25d8b0923dad7962cb2e0754bc2488a3954d4a Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Fri, 4 Nov 2022 16:36:08 +0100 Subject: [PATCH] Don't cache the target directory This seems to cause the Windows CI runner to blow up. --- .github/workflows/build.yml | 2 +- .github/workflows/docs.yml | 3 +-- .github/workflows/test.yml | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 99d225e4..7bfb4e70 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -41,11 +41,11 @@ jobs: - uses: actions/cache@v2 with: + # FIXME: Caching `target/` causes the Windows runner to blow up after some time path: | ~/.cargo/registry/index/ ~/.cargo/registry/cache/ ~/.cargo/git/db/ - target/ key: ${{ runner.name }}-${{ matrix.cross-target }} - name: Set up Rust toolchain diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 5b13966c..e367d0fb 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -27,12 +27,11 @@ jobs: - uses: actions/cache@v2 with: + # FIXME: Caching `target/` causes the Windows runner to blow up after some time path: | - ~/.cargo/bin/ ~/.cargo/registry/index/ ~/.cargo/registry/cache/ ~/.cargo/git/db/ - target/ key: ${{ runner.name }}-${{ matrix.cross-target }} - name: Set up Rust toolchain diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 360b253c..ef228cf3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -38,11 +38,11 @@ jobs: - uses: actions/cache@v2 with: + # FIXME: Caching `target/` causes the Windows runner to blow up after some time path: | ~/.cargo/registry/index/ ~/.cargo/registry/cache/ ~/.cargo/git/db/ - target/ key: ${{ runner.name }}-${{ matrix.cross-target }} - name: Set up Rust toolchain