From 3b497a5db462a8416289dee339c4e8b980a43c24 Mon Sep 17 00:00:00 2001 From: Wolfgang Walther Date: Tue, 6 Feb 2024 22:09:49 +0100 Subject: [PATCH] ci: Remove useless cache- prefix for cache names This just makes the name longer than needed. --- .github/workflows/build.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 7b3c768ee..0d297dee6 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -109,9 +109,9 @@ jobs: uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4 with: path: ${{ matrix.cache }} - key: cache-stack-${{ runner.os }}-${{ hashFiles('stack.yaml.lock') }} + key: stack-${{ runner.os }}-${{ hashFiles('stack.yaml.lock') }} restore-keys: | - cache-stack-${{ runner.os }}- + stack-${{ runner.os }}- - name: Install dependencies if: matrix.deps run: ${{ matrix.deps }} @@ -175,9 +175,9 @@ jobs: ~/.cabal/packages ~/.cabal/store dist-newstyle - key: cache-cabal-${{ runner.os }}-${{ matrix.ghc }}-${{ hashFiles('postgrest.cabal', 'cabal.project', 'cabal.project.freeze') }} + key: cabal-${{ runner.os }}-${{ matrix.ghc }}-${{ hashFiles('postgrest.cabal', 'cabal.project', 'cabal.project.freeze') }} restore-keys: | - cache-cabal-${{ runner.os }}-${{ matrix.ghc }}- + cabal-${{ runner.os }}-${{ matrix.ghc }}- - name: Install dependencies run: | cabal update