From 14d49d0fcefe3a192fa20e2cd35fe030cabac614 Mon Sep 17 00:00:00 2001 From: asonix Date: Wed, 7 Feb 2024 15:46:47 -0600 Subject: [PATCH] Fix cache paths --- .forgejo/workflows/check.yaml | 33 ++++++++++++++++++--------------- 1 file changed, 18 insertions(+), 15 deletions(-) diff --git a/.forgejo/workflows/check.yaml b/.forgejo/workflows/check.yaml index 7574aae..b9da295 100644 --- a/.forgejo/workflows/check.yaml +++ b/.forgejo/workflows/check.yaml @@ -29,11 +29,12 @@ jobs: name: Populate rust cache uses: https://github.com/actions/cache/save@v4 with: - ~/.cargo/bin - ~/.cargo/registry/index - ~/.cargo/registry/cache - ~/.cargo/git/db - ~/.rustup + path: | + ~/.cargo/bin + ~/.cargo/registry/index + ~/.cargo/registry/cache + ~/.cargo/git/db + ~/.rustup key: ${{ runner.os }}-cargo-${{ steps.rust.outputs.cacheKey }} @@ -50,11 +51,12 @@ jobs: name: Fetch rust cache uses: https://github.com/actions/cache/restore@v4 with: - ~/.cargo/bin - ~/.cargo/registry/index - ~/.cargo/registry/cache - ~/.cargo/git/db - ~/.rustup + path: | + ~/.cargo/bin + ~/.cargo/registry/index + ~/.cargo/registry/cache + ~/.cargo/git/db + ~/.rustup key: ${{ runner.os }}-cargo-${{ jobs.cache-rust.steps.rust.outputs.cacheKey }} - name: Clippy @@ -97,11 +99,12 @@ jobs: name: Fetch rust cache uses: https://github.com/actions/cache/restore@v4 with: - ~/.cargo/bin - ~/.cargo/registry/index - ~/.cargo/registry/cache - ~/.cargo/git/db - ~/.rustup + path: | + ~/.cargo/bin + ~/.cargo/registry/index + ~/.cargo/registry/cache + ~/.cargo/git/db + ~/.rustup key: ${{ runner.os }}-cargo-${{ jobs.cache-rust.steps.rust.outputs.cacheKey }} - name: Install cargo-binstall