From 0be6780559c410157c36486f25228b50a369af07 Mon Sep 17 00:00:00 2001 From: Tomas Janousek Date: Sun, 24 Oct 2021 11:11:48 +0100 Subject: [PATCH] ci: Avoid caching GHC MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We install GHC using apt, so stack shouldn't install it, but should it ever end up installing it anyway (version mismatch, version unavailable in hvr/ghc ppa, …), we don't want it wasting valuable cache space. --- .github/workflows/stack.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/stack.yml b/.github/workflows/stack.yml index 8d3f8a7a..8110414b 100644 --- a/.github/workflows/stack.yml +++ b/.github/workflows/stack.yml @@ -82,6 +82,7 @@ jobs: path: | ~/.stack/* !~/.stack/pantry + !~/.stack/programs key: stack-${{ runner.os }}-${{ matrix.resolver }}-${{ steps.cache-date.outputs.date }}-${{ hashFiles(matrix.yaml) }}-${{ hashFiles('*.cabal') }} restore-keys: | stack-${{ runner.os }}-${{ matrix.resolver }}-${{ steps.cache-date.outputs.date }}-${{ hashFiles(matrix.yaml) }}-